Modifier | Constructor and Description |
---|---|
protected |
BundlePath(BundleFileSystem fs,
Path zipPath) |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
protected BundlePath(BundleFileSystem fs, Path zipPath)
public int compareTo(Path other)
compareTo
in interface Comparable<Path>
compareTo
in interface Path
public boolean equals(Object other)
public BundlePath getFileName()
getFileName
in interface Path
public BundleFileSystem getFileSystem()
getFileSystem
in interface Path
public BundlePath getName(int index)
public int getNameCount()
getNameCount
in interface Path
public BundlePath getParent()
public BundlePath getRoot()
protected Path getZipPath()
public int hashCode()
public boolean isAbsolute()
isAbsolute
in interface Path
public BundlePath normalize()
public WatchKey register(WatchService watcher, WatchEvent.Kind<?>... events) throws IOException
register
in interface Path
register
in interface Watchable
IOException
public WatchKey register(WatchService watcher, WatchEvent.Kind<?>[] events, WatchEvent.Modifier... modifiers) throws IOException
register
in interface Path
register
in interface Watchable
IOException
public BundlePath relativize(Path other)
relativize
in interface Path
public BundlePath resolve(Path other)
public BundlePath resolve(String other)
public BundlePath resolveSibling(Path other)
resolveSibling
in interface Path
public BundlePath resolveSibling(String other)
resolveSibling
in interface Path
public boolean startsWith(Path other)
startsWith
in interface Path
public boolean startsWith(String other)
startsWith
in interface Path
public BundlePath subpath(int beginIndex, int endIndex)
public BundlePath toAbsolutePath()
toAbsolutePath
in interface Path
public BundlePath toRealPath(LinkOption... options) throws IOException
toRealPath
in interface Path
IOException
public String toString()
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.