| Constructor and Description |
|---|
PathWrapper(Path path,
FileSystem fileSystem) |
public PathWrapper(Path path, FileSystem fileSystem)
public int compareTo(Path path)
compareTo in interface Comparable<Path>compareTo in interface Pathpublic boolean equals(Object path)
public FileSystem getFileSystem()
getFileSystem in interface Pathpublic int getNameCount()
getNameCount in interface Pathpublic int hashCode()
public boolean isAbsolute()
isAbsolute in interface Pathpublic WatchKey register(WatchService watcherService, WatchEvent.Kind<?>... kinds) throws IOException
register in interface Pathregister in interface WatchableIOExceptionpublic WatchKey register(WatchService watcherService, WatchEvent.Kind<?>[] kinds, WatchEvent.Modifier... modifiers) throws IOException
register in interface Pathregister in interface WatchableIOExceptionpublic Path resolveSibling(String path)
resolveSibling in interface Pathpublic Path toRealPath(LinkOption... linkOptions) throws IOException
toRealPath in interface PathIOExceptionpublic String toString()
protected static Path wrapPath(Path path, FileSystem fileSystem)