| Modifier and Type | Method and Description |
|---|---|
RegularFile |
ResolvedPath.createRegularFile(RegularFileCreateOption... options)
Creates a new (regular) file whose pathname is given by this object with
the specified creation options or fails if the pathname already exists.
|
RegularFile |
Directory.createRegularFile(String fileName,
RegularFileCreateOption... options)
Creates a (regular) file with the specified file name and with the
specified creation options.
|
RegularFile |
Directory.getOrCreateRegularFile(String fileName)
Returns an existing (regular) file or creates new one with the specified
file name.
|
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. |
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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DirectoryContentsVisitor.visitRegularFile(RegularFile file)
Visits a regular file.
|
R |
SimplePathNameVisitor.visitRegularFile(RegularFile file,
P p)
Visits a regular file.
|
R |
PathNameVisitor.visitRegularFile(RegularFile file,
P p)
Visits a regular file.
|
Copyright © 2021–2022 Objectos Software LTDA. All rights reserved.