* @param path a list of files, if {@code null} use the default
* path for this location
* @see #getLocation
* @throws IllegalArgumentException if location is an output
* location and path does not contain exactly one element
* @throws IOException if location is an output location and path
* does not represent an existing directory
*/
void setLocation(Location location, Iterable<? extends File> path)
throws IOException;
/**
* Gets the path associated with the given location.
*
* @param location a location
* @return a list of files or {@code null} if this location has no
* associated path
* @see #setLocation
*/
Iterable<? extends File> getLocation(Location location);
}
=3=
THE END |