If the specified File exists and is either a directory or a readable zip or jar archive, returns an abstract directory backed by it.
If the specified File exists and is either a directory or a
readable zip or jar archive, returns an abstract directory
backed by it. Otherwise, returns null
.
Returns "getDirectory(new File(path))".
If the specified File exists and is a regular file, returns an abstract regular file backed by it.
If the specified File exists and is a regular file, returns an
abstract regular file backed by it. Otherwise, returns null
.
Returns "getFile(new File(path))".
If the specified URL exists and is a regular file or a directory, returns an abstract regular file or an abstract directory, respectively, backed by it.
If the specified URL exists and is a regular file or a directory, returns an
abstract regular file or an abstract directory, respectively, backed by it.
Otherwise, returns null
.