Class PathNio
java.lang.Object
org.aksw.commons.path.core.PathNio
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleangetName(int index) intgetRoot()Returns an object such as the file system underlying this path.booleaniterator()relativize(Path<String> other) resolveSibling(String other) resolveSibling(Path<String> other) resolveSiblingStr(String other) resolveStr(String other) booleanstartsWith(Path<String> other) subpath(int beginIndex) Experimental.subpath(int beginIndex, int endIndex) static PathNioprotected PathNiowrapInternal(Path nioPath) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Field Details
-
delegate
-
-
Constructor Details
-
PathNio
-
-
Method Details
-
getDelegate
-
wrap
-
wrapInternal
-
toAbsolutePath
- Specified by:
toAbsolutePathin interfacePath<String>
-
isAbsolute
public boolean isAbsolute()- Specified by:
isAbsolutein interfacePath<String>
-
getSegments
- Specified by:
getSegmentsin interfacePath<String>
-
getRoot
-
getFileName
- Specified by:
getFileNamein interfacePath<String>
-
getParent
-
getNameCount
public int getNameCount()- Specified by:
getNameCountin interfacePath<String>
-
getName
-
subpath
-
subpath
-
startsWith
- Specified by:
startsWithin interfacePath<String>
-
endsWith
-
normalize
-
resolve
-
resolveStr
-
resolve
-
resolveSibling
-
resolveSiblingStr
-
resolveSibling
-
relativize
-
iterator
-
compareTo
-
getSystem
Description copied from interface:PathReturns an object such as the file system underlying this path. Returns null if not applicable. Experimental.
-