Class ShrinkWrapPath
java.lang.Object
org.jboss.shrinkwrap.impl.base.nio2.file.ShrinkWrapPath
- Author:
- Andrew Lee Rubinger
-
Method Summary
Modifier and TypeMethodDescriptionintbooleanbooleanbooleangetName(int index) intgetRoot()inthashCode()booleaniterator()register(WatchService watcher, WatchEvent.Kind<?>... events) register(WatchService watcher, WatchEvent.Kind<?>[] events, WatchEvent.Modifier... modifiers) relativize(Path other) resolveSibling(String other) resolveSibling(Path other) booleanstartsWith(String other) booleanstartsWith(Path other) subpath(int beginIndex, int endIndex) Resolves relative paths against the root directory, normalizing as well.toFile()toRealPath(LinkOption... options) toString()toUri()Methods inherited from interface Iterable
forEach, spliterator
-
Method Details
-
getFileSystem
- Specified by:
getFileSystemin interfacePath- See Also:
-
isAbsolute
public boolean isAbsolute()- Specified by:
isAbsolutein interfacePath- See Also:
-
getRoot
-
getFileName
- Specified by:
getFileNamein interfacePath- See Also:
-
getParent
-
getNameCount
public int getNameCount()- Specified by:
getNameCountin interfacePath- See Also:
-
getName
-
subpath
-
startsWith
- Specified by:
startsWithin interfacePath- See Also:
-
startsWith
- Specified by:
startsWithin interfacePath- See Also:
-
endsWith
-
endsWith
-
normalize
-
resolve
-
resolve
-
resolveSibling
- Specified by:
resolveSiblingin interfacePath- See Also:
-
resolveSibling
- Specified by:
resolveSiblingin interfacePath- See Also:
-
relativize
- Specified by:
relativizein interfacePath- See Also:
-
toUri
-
toAbsolutePath
Resolves relative paths against the root directory, normalizing as well.- Specified by:
toAbsolutePathin interfacePath- See Also:
-
toRealPath
- Specified by:
toRealPathin interfacePath- Throws:
IOException- See Also:
-
toFile
-
register
public WatchKey register(WatchService watcher, WatchEvent.Kind<?>[] events, WatchEvent.Modifier... modifiers) -
register
-
iterator
-
compareTo
-
toString
-
hashCode
-
equals
-