Package org.apache.ivy.util
Interface FileResolver
-
public interface FileResolver
-
-
Field Summary
Fields Modifier and Type Field Description static FileResolver
DEFAULT
-
Method Summary
All Methods Instance Methods Abstract Methods 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 anIllegalArgumentException
if the path is not valid for thisFileResolver
.
-
-
-
Field Detail
-
DEFAULT
static final FileResolver DEFAULT
-
-
Method Detail
-
resolveFile
java.io.File resolveFile(java.lang.String path, java.lang.String filename)
Return the canonical form of a path, or raise anIllegalArgumentException
if 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.
-
-