public interface FileResolver
Modifier and Type | Field | Description |
---|---|---|
static FileResolver |
DEFAULT |
Modifier and Type | Method | Description |
---|---|---|
java.io.File |
resolveFile(java.lang.String path,
java.lang.String filename) |
Return the canonical form of a path, or raise an
IllegalArgumentException if the path
is not valid for this FileResolver . |
static final FileResolver DEFAULT
java.io.File resolveFile(java.lang.String path, java.lang.String filename)
IllegalArgumentException
if the path
is not valid for this FileResolver
.
path
- The path of the file to resolve. Must not be null
.fileName
- The name of the file to resolve. This is used only for exception message if any.
Must not be null
.