| Modifier and Type | Method and Description |
|---|---|
Directory |
ResolvedPath.createDirectory()
Creates a directory whose pathname is given by this object or fails if the
pathname already exists.
|
Directory |
Directory.createDirectory(String directoryName)
Creates a directory with the specified name.
|
static Directory |
JavaIoTmpdir.get()
Returns the directory resolved from the
java.io.tmpdir system
property. |
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.
|
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.
|
Directory |
ResolvedPath.toDirectoryCreateIfNotFound()
Returns the directory denoted by this pathname; creates a new directory if
it does not exist or fails if the pathname is not a directory.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Directory.copyTo(Directory dest)
Recursively copies the contents of this directory to the specified
destination directory.
|
void |
DirectoryContentsVisitor.visitDirectory(Directory directory)
Visits a directory.
|
R |
SimplePathNameVisitor.visitDirectory(Directory directory,
P p)
Visits a directory.
|
R |
PathNameVisitor.visitDirectory(Directory directory,
P p)
Visits a directory.
|
Copyright © 2021–2022 Objectos Software LTDA. All rights reserved.