| Modifier and Type | Method and Description |
|---|---|
static Directory |
LocalFs.getDirectory(File file)
Returns an existing directory whose pathname is given by the specified
java.io.File. |
Directory |
Directory.getDirectory(String directoryName)
Returns an existing subdirectory having the specified name.
|
static Directory |
LocalFs.getDirectory(String first,
String... more)
Returns an existing directory whose pathname is given by combining all of
the specified names.
|
Directory |
Directory.getParent()
Returns the parent directory of this directory.
|
Directory |
RegularFile.getParent()
Returns the parent of this object.
|
static RegularFile |
LocalFs.getRegularFile(Resource resource)
Returns an existing file given by the specified
ClassLoader
resource. |
RegularFile |
Directory.getRegularFile(String fileName)
Returns an existing (regular) file with the specified file name.
|
static RegularFile |
LocalFs.getRegularFile(String first,
String... more)
Returns an existing file whose pathname is given by combining all of
the specified names.
|
static RegularFile |
LocalFs.getRegularFile(URI uri)
Returns an existing file whose pathname is given by the specified
java.net.URI. |
Directory |
ResolvedPath.toDirectory()
Returns the directory denoted by this pathname; fails if the directory does
not exist or if the pathname is not a directory.
|
RegularFile |
ResolvedPath.toRegularFile()
Returns the file denoted by this pathname; fails if the file does not exist
or if the pathname is not a regular file.
|
Copyright © 2021–2022 Objectos Software LTDA. All rights reserved.