Class LinkFSPath
java.lang.Object
net.minecraft.server.packs.linkfs.LinkFSPath
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final BasicFileAttributesprivate static final BasicFileAttributesprivate final LinkFileSystemprivate final Stringprivate final LinkFSPathprivate static final Comparator<LinkFSPath>private final PathContentsprivate String
- 
Constructor SummaryConstructorsConstructorDescriptionLinkFSPath(LinkFileSystem p_251111_, String p_250681_, LinkFSPath p_251363_, PathContents p_251268_) 
- 
Method SummaryModifier and TypeMethodDescriptionintprivate LinkFSPathcreateRelativePath(LinkFSPath p_249276_, String p_249966_) booleanbooleanbooleanexists()getName(int p_248550_) intgetRoot()inthashCode()private booleanbooleanprivate static booleanisRelativeOrMissing(PathContents p_248750_) private Stringregister(WatchService p_249189_, WatchEvent.Kind<?>[] p_249917_, WatchEvent.Modifier... p_251602_) relativize(Path p_250294_) private LinkFSPath(package private) LinkFSPathresolveName(String p_249718_) booleanstartsWith(Path p_248923_) subpath(int p_251923_, int p_248807_) toFile()private LinkFSPathtoLinkPath(Path p_250907_) toRealPath(LinkOption... p_251187_) toString()toUri()Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliteratorMethods inherited from interface java.nio.file.PathendsWith, iterator, register, resolve, resolveSibling, resolveSibling, startsWith
- 
Field Details- 
DIRECTORY_ATTRIBUTES
- 
FILE_ATTRIBUTES
- 
PATH_COMPARATOR
- 
name
- 
fileSystem
- 
parent
- 
pathToRoot
- 
pathString
- 
pathContents
 
- 
- 
Constructor Details- 
LinkFSPathpublic LinkFSPath(LinkFileSystem p_251111_, String p_250681_, @Nullable LinkFSPath p_251363_, PathContents p_251268_) 
 
- 
- 
Method Details- 
createRelativePath
- 
getFileSystem- Specified by:
- getFileSystemin interface- Path
 
- 
isAbsolutepublic boolean isAbsolute()- Specified by:
- isAbsolutein interface- Path
 
- 
toFile
- 
getRoot
- 
getFileName- Specified by:
- getFileNamein interface- Path
 
- 
getParent
- 
getNameCountpublic int getNameCount()- Specified by:
- getNameCountin interface- Path
 
- 
pathToRoot
- 
getName
- 
subpath
- 
startsWith- Specified by:
- startsWithin interface- Path
 
- 
endsWith
- 
normalize
- 
resolve
- 
resolve
- 
resolveName
- 
isRelativeOrMissing
- 
relativize- Specified by:
- relativizein interface- Path
 
- 
toUri
- 
toAbsolutePath- Specified by:
- toAbsolutePathin interface- Path
 
- 
toRealPath- Specified by:
- toRealPathin interface- Path
 
- 
registerpublic WatchKey register(WatchService p_249189_, WatchEvent.Kind<?>[] p_249917_, WatchEvent.Modifier... p_251602_) 
- 
compareTo- Specified by:
- compareToin interface- Comparable<Path>
- Specified by:
- compareToin interface- Path
 
- 
equals
- 
hasRealContentsprivate boolean hasRealContents()
- 
hashCodepublic int hashCode()
- 
toString
- 
pathToString
- 
toLinkPath
- 
existspublic boolean exists()
- 
getTargetPath
- 
getDirectoryContents
- 
getBasicAttributeView
- 
getBasicAttributes- Throws:
- IOException
 
 
-