类 LinkFSPath
java.lang.Object
net.minecraft.server.packs.linkfs.LinkFSPath
-
字段概要
字段修饰符和类型字段说明private static final BasicFileAttributes
private static final BasicFileAttributes
private final LinkFileSystem
private final String
private final LinkFSPath
private static final Comparator
<LinkFSPath> private final PathContents
private String
-
构造器概要
构造器构造器说明LinkFSPath
(LinkFileSystem p_251111_, String p_250681_, LinkFSPath p_251363_, PathContents p_251268_) -
方法概要
修饰符和类型方法说明int
private LinkFSPath
createRelativePath
(LinkFSPath p_249276_, String p_249966_) boolean
boolean
boolean
exists()
getName
(int p_248550_) int
getRoot()
int
hashCode()
private boolean
boolean
private static boolean
isRelativeOrMissing
(PathContents p_248750_) private String
register
(WatchService p_249189_, WatchEvent.Kind<?>[] p_249917_, WatchEvent.Modifier... p_251602_) relativize
(Path p_250294_) private LinkFSPath
(专用程序包) LinkFSPath
resolveName
(String p_249718_) boolean
startsWith
(Path p_248923_) subpath
(int p_251923_, int p_248807_) toFile()
private LinkFSPath
toLinkPath
(Path p_250907_) toRealPath
(LinkOption... p_251187_) toString()
toUri()
从接口继承的方法 java.lang.Iterable
forEach, spliterator
从接口继承的方法 java.nio.file.Path
endsWith, iterator, register, resolve, resolveSibling, resolveSibling, startsWith
-
字段详细资料
-
DIRECTORY_ATTRIBUTES
-
FILE_ATTRIBUTES
-
PATH_COMPARATOR
-
name
-
fileSystem
-
parent
-
pathToRoot
-
pathString
-
pathContents
-
-
构造器详细资料
-
LinkFSPath
public LinkFSPath(LinkFileSystem p_251111_, String p_250681_, @Nullable LinkFSPath p_251363_, PathContents p_251268_)
-
-
方法详细资料
-
createRelativePath
-
getFileSystem
- 指定者:
getFileSystem
在接口中Path
-
isAbsolute
public boolean isAbsolute()- 指定者:
isAbsolute
在接口中Path
-
toFile
-
getRoot
-
getFileName
- 指定者:
getFileName
在接口中Path
-
getParent
-
getNameCount
public int getNameCount()- 指定者:
getNameCount
在接口中Path
-
pathToRoot
-
getName
-
subpath
-
startsWith
- 指定者:
startsWith
在接口中Path
-
endsWith
-
normalize
-
resolve
-
resolve
-
resolveName
-
isRelativeOrMissing
-
relativize
- 指定者:
relativize
在接口中Path
-
toUri
-
toAbsolutePath
- 指定者:
toAbsolutePath
在接口中Path
-
toRealPath
- 指定者:
toRealPath
在接口中Path
-
register
public WatchKey register(WatchService p_249189_, WatchEvent.Kind<?>[] p_249917_, WatchEvent.Modifier... p_251602_) -
compareTo
- 指定者:
compareTo
在接口中Comparable<Path>
- 指定者:
compareTo
在接口中Path
-
equals
-
hasRealContents
private boolean hasRealContents() -
hashCode
public int hashCode() -
toString
-
pathToString
-
toLinkPath
-
exists
public boolean exists() -
getTargetPath
-
getDirectoryContents
-
getBasicAttributeView
-
getBasicAttributes
- 抛出:
IOException
-