Class TDefaultPath
java.lang.Object
org.teavm.classlib.java.nio.file.impl.TDefaultPath
- All Implemented Interfaces:
Comparable<TPath>, Iterable<TPath>, TPath
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanbooleangetName(int index) intgetRoot()inthashCode()booleaniterator()relativize(TPath other) booleanstartsWith(TPath other) subpath(int beginIndex, int endIndex) toRealPath(TLinkOption... options) toString()toUri()Methods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface TPath
endsWith, resolve, resolveSibling, resolveSibling, startsWith, toFile
-
Field Details
-
pathString
-
-
Constructor Details
-
TDefaultPath
-
-
Method Details
-
getFileSystem
- Specified by:
getFileSystemin interfaceTPath
-
isAbsolute
public boolean isAbsolute()- Specified by:
isAbsolutein interfaceTPath
-
getRoot
-
getFileName
- Specified by:
getFileNamein interfaceTPath
-
getParent
-
getNameCount
public int getNameCount()- Specified by:
getNameCountin interfaceTPath
-
getName
-
subpath
-
startsWith
- Specified by:
startsWithin interfaceTPath
-
endsWith
-
normalize
-
resolve
-
relativize
- Specified by:
relativizein interfaceTPath
-
toAbsolutePath
- Specified by:
toAbsolutePathin interfaceTPath
-
toUri
-
toRealPath
- Specified by:
toRealPathin interfaceTPath- Throws:
IOException
-
compareTo
-
iterator
-
equals
-
hashCode
-
toString
-