@FunctionalInterface public interface WrappedPath extends Path
| Modifier and Type | Method and Description |
|---|---|
default int |
compareTo(Path other) |
default boolean |
endsWith(Path other) |
default boolean |
endsWith(String other) |
default Path |
getFileName() |
default FileSystem |
getFileSystem() |
default Path |
getName(int index) |
default int |
getNameCount() |
default Path |
getParent() |
default Path |
getRoot() |
default boolean |
isAbsolute() |
default Iterator<Path> |
iterator() |
default Path |
normalize() |
default WatchKey |
register(WatchService watcher,
WatchEvent.Kind<?>[] events) |
default WatchKey |
register(WatchService watcher,
WatchEvent.Kind<?>[] events,
WatchEvent.Modifier... modifiers) |
default Path |
relativize(Path other) |
default Path |
resolve(Path other) |
default Path |
resolve(String other) |
default Path |
resolveSibling(Path other) |
default Path |
resolveSibling(String other) |
default boolean |
startsWith(Path other) |
default boolean |
startsWith(String other) |
default Path |
subpath(int beginIndex,
int endIndex) |
default Path |
toAbsolutePath() |
default File |
toFile() |
default Path |
toRealPath(LinkOption... options) |
default URI |
toUri() |
Path |
wrapped() |
forEach, spliteratordefault FileSystem getFileSystem()
getFileSystem in interface Pathdefault boolean isAbsolute()
isAbsolute in interface Pathdefault Path getFileName()
getFileName in interface Pathdefault int getNameCount()
getNameCount in interface Pathdefault boolean startsWith(Path other)
startsWith in interface Pathdefault boolean startsWith(String other)
startsWith in interface Pathdefault Path resolveSibling(Path other)
resolveSibling in interface Pathdefault Path resolveSibling(String other)
resolveSibling in interface Pathdefault Path relativize(Path other)
relativize in interface Pathdefault Path toAbsolutePath()
toAbsolutePath in interface Pathdefault Path toRealPath(LinkOption... options) throws IOException
toRealPath in interface PathIOExceptiondefault WatchKey register(WatchService watcher, WatchEvent.Kind<?>[] events, WatchEvent.Modifier... modifiers) throws IOException
register in interface Pathregister in interface WatchableIOExceptiondefault WatchKey register(WatchService watcher, WatchEvent.Kind<?>[] events) throws IOException
register in interface Pathregister in interface WatchableIOExceptionCopyright © 2017 echocat. All rights reserved.