Package thredds.util.filesource
Interface FileSource
- All Known Subinterfaces:
DescendantFileSource
- All Known Implementing Classes:
BasicDescendantFileSource,BasicWithExclusionsDescendantFileSource,ChainedFileSource
public interface FileSource
Represent a source for java.io.Files.
- Since:
- 4.0
-
Method Summary
-
Method Details
-
getFile
Return the File, if it exists, that the given path represents for the FileSource implementation in use. Different implementations of FileSource can have different restrictions on the set of recognized paths. For instance, some implementations may only be able to handle paths that reference Files under a particular root directory.- Parameters:
path- the path to the desired File.- Returns:
- the File represented by the path or null.
-