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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.teavm.classlib.java.nio.file.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
- Specified by:
compareToin interfaceComparable<TPath>- Specified by:
compareToin interfaceTPath
-
iterator
-
equals
-
hashCode
public int hashCode() -
toString
-