S
- The type of file system.public static final class FileSystemMap.FileSystemStatus<S extends FileSystem> extends Object
isNotFound()
will return true
and fileSystem()
will return Optional.empty()
.FileSystemMap.add(URI, Map)
or FileSystemMap.addIfNotExists(URI, Map)
.
isNotFound()
will return false
and fileSystem()
will return Optional.empty()
.FileSystemMap.add(URI, Map)
or FileSystemMap.addIfNotExists(URI, Map)
.
isNotFound()
will return false
and fileSystem()
will return a non-empty Optional
.Modifier and Type | Method and Description |
---|---|
Optional<S> |
fileSystem()
Returns the file system if available.
|
boolean |
isNotFound()
Returns whether or not the file system was found.
|
public boolean isNotFound()
false
value means that the file system either has already been created, or is still being created.true
if the file system was not found, or false
otherwise.public Optional<S> fileSystem()
Optional
describing the file system if it has already been created,
or Optional.empty()
if it is still being created or was not found.Copyright © 2016–2023. All rights reserved.