Package org.teavm.classlib.java.nio.file
Interface TPath
- All Superinterfaces:
Comparable<TPath>,Iterable<TPath>
- All Known Implementing Classes:
TDefaultPath
-
Method Summary
Modifier and TypeMethodDescriptionintdefault booleanbooleangetName(int index) intgetRoot()booleanstatic TPathstatic TPathrelativize(TPath other) default TPathdefault TPathresolveSibling(String other) default TPathresolveSibling(TPath other) default booleanstartsWith(String other) booleanstartsWith(TPath other) subpath(int beginIndex, int endIndex) default FiletoFile()toRealPath(TLinkOption... options) toUri()Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
of
-
of
-
getFileSystem
TFileSystem getFileSystem() -
isAbsolute
boolean isAbsolute() -
getRoot
TPath getRoot() -
getFileName
TPath getFileName() -
getParent
TPath getParent() -
getNameCount
int getNameCount() -
getName
-
subpath
-
startsWith
-
startsWith
-
endsWith
-
endsWith
-
normalize
TPath normalize() -
resolve
-
resolve
-
resolveSibling
-
resolveSibling
-
relativize
-
toUri
TURI toUri() -
toAbsolutePath
TPath toAbsolutePath() -
toRealPath
- Throws:
IOException
-
compareTo
- Specified by:
compareToin interfaceComparable<TPath>
-
toFile
-