Interface FileResolver
public interface FileResolver
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionresolveFile(String path, String filename) Return the canonical form of a path, or raise anIllegalArgumentExceptionif the path is not valid for thisFileResolver.
-
Field Details
-
DEFAULT
-
-
Method Details
-
resolveFile
Return the canonical form of a path, or raise anIllegalArgumentExceptionif the path is not valid for thisFileResolver.- Parameters:
path- The path of the file to resolve. Must not benull.filename- The name of the file to resolve. This is used only for exception message if any. Must not benull.- Returns:
- the resolved File.
-