Interface FileResolver
-
- All Known Implementing Classes:
FileResolverRESTClient
,SimpleFileResolver
public interface FileResolver
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.nio.file.Path
getPath(java.lang.String filename)
Return a single path to a given file, or null if the file is not found.java.util.List<java.nio.file.Path>
getPaths(java.util.regex.Pattern filepattern)
Return a list of file-paths matching a given pattern.
-
-
-
Method Detail
-
getPaths
java.util.List<java.nio.file.Path> getPaths(java.util.regex.Pattern filepattern)
Return a list of file-paths matching a given pattern. Empty if there are no matching files.- Parameters:
filepattern
- String to match.- Returns:
- The list of matching file-paths.
-
getPath
java.nio.file.Path getPath(java.lang.String filename)
Return a single path to a given file, or null if the file is not found.- Parameters:
filename
- The filename to resolve.- Returns:
- Path representing the file.
-
-