Package gaiasky.gui
Class BookmarkPath
java.lang.Object
gaiasky.gui.BookmarkPath
Implementation of bookmarks path.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
boolean
getName
(int i) int
getRoot()
int
hashCode()
boolean
register
(WatchService watchService, WatchEvent.Kind<?>[] kinds, WatchEvent.Modifier... modifiers) relativize
(Path path) boolean
startsWith
(Path path) subpath
(int i, int i1) toRealPath
(LinkOption... linkOptions) toString()
toUri()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface java.nio.file.Path
endsWith, iterator, register, resolveSibling, resolveSibling, startsWith, toFile
-
Constructor Details
-
BookmarkPath
-
BookmarkPath
-
-
Method Details
-
getFileSystem
- Specified by:
getFileSystem
in interfacePath
-
isAbsolute
public boolean isAbsolute()- Specified by:
isAbsolute
in interfacePath
-
getRoot
-
getFileName
- Specified by:
getFileName
in interfacePath
-
getParent
-
getNameCount
public int getNameCount()- Specified by:
getNameCount
in interfacePath
-
getName
-
subpath
-
startsWith
- Specified by:
startsWith
in interfacePath
-
endsWith
-
normalize
-
resolve
-
resolve
-
relativize
- Specified by:
relativize
in interfacePath
-
toUri
-
toAbsolutePath
- Specified by:
toAbsolutePath
in interfacePath
-
toRealPath
- Specified by:
toRealPath
in interfacePath
- Throws:
IOException
-
register
public WatchKey register(WatchService watchService, WatchEvent.Kind<?>[] kinds, WatchEvent.Modifier... modifiers) throws IOException - Specified by:
register
in interfacePath
- Specified by:
register
in interfaceWatchable
- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<Path>
- Specified by:
compareTo
in interfacePath
-
toString
-
constructString
-