Package org.apache.sshd.common.file.root
Class RootedPath
- java.lang.Object
-
- org.apache.sshd.common.file.util.BasePath<RootedPath,RootedFileSystem>
-
- org.apache.sshd.common.file.root.RootedPath
-
- All Implemented Interfaces:
java.lang.Comparable<java.nio.file.Path>,java.lang.Iterable<java.nio.file.Path>,java.nio.file.Path,java.nio.file.Watchable
public class RootedPath extends BasePath<RootedPath,RootedFileSystem>
-
-
Constructor Summary
Constructors Constructor Description RootedPath(RootedFileSystem fileSystem, java.lang.String root, java.util.List<java.lang.String> names)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.FiletoFile()RootedPathtoRealPath(java.nio.file.LinkOption... options)-
Methods inherited from class org.apache.sshd.common.file.util.BasePath
asString, asT, calculatedHashCode, checkPath, compare, compareTo, create, create, create, endsWith, endsWith, endsWith, equals, getFileName, getFileSystem, getName, getNameCount, getParent, getRoot, hashCode, isAbsolute, isNormal, iterator, normalize, register, register, relativize, resolve, resolve, resolveSibling, resolveSibling, startsWith, startsWith, startsWith, subpath, toAbsolutePath, toString, toUri
-
-
-
-
Constructor Detail
-
RootedPath
public RootedPath(RootedFileSystem fileSystem, java.lang.String root, java.util.List<java.lang.String> names)
-
-
Method Detail
-
toFile
public java.io.File toFile()
- Specified by:
toFilein interfacejava.nio.file.Path- Overrides:
toFilein classBasePath<RootedPath,RootedFileSystem>
-
toRealPath
public RootedPath toRealPath(java.nio.file.LinkOption... options) throws java.io.IOException
- Throws:
java.io.IOException
-
-