org.apache.ivy.util

Interface FileResolver

public interface FileResolver

Field Summary
static FileResolverDEFAULT
Method Summary
FileresolveFile(String path, String filename)
Return the canonical form of a path, or raise an IllegalArgumentException if the path is not valid for this FileResolver.

Field Detail

DEFAULT

public static final FileResolver DEFAULT

Method Detail

resolveFile

public File resolveFile(String path, String filename)
Return the canonical form of a path, or raise an IllegalArgumentException if the path is not valid for this FileResolver.

Parameters: 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.

Returns: the resolved File.