net.minecraft.server.packs.linkfs

class LinkFSPath

implements Path

amo
net.minecraft.server.packs.linkfs.LinkFSPath
net.minecraft.class_7668
net.minecraft.resource.fs.ResourcePath
net.minecraft.src.C_243477_
net.minecraft.server.packs.linkfs.LinkFSPath

Field summary

Modifier and TypeField
private static final BasicFileAttributes
a
DIRECTORY_ATTRIBUTES
field_40013
DIRECTORY_ATTRIBUTES
f_243881_
private static final BasicFileAttributes
b
FILE_ATTRIBUTES
field_40014
FILE_ATTRIBUTES
f_243746_
private static final Comparator<LinkFSPath>
c
PATH_COMPARATOR
field_40015
COMPARATOR
f_244038_
private final String
d
name
field_40016
name
f_244036_
private final LinkFileSystem
e
fileSystem
field_40017
fileSystem
f_243986_
private final LinkFSPath
f
parent
field_40018
parent
f_244587_
private List<String>
g
pathToRoot
field_40019
names
f_244015_
private String
h
pathString
field_40020
pathString
f_243677_
private final PathContents
i
pathContents
field_40021
file
f_244000_

Constructor summary

ModifierConstructor
public (LinkFileSystem fileSystem, String name, LinkFSPath parent, PathContents file)

Method summary

Modifier and TypeMethod
private LinkFSPath
a(amo arg0, String arg1)
createRelativePath(LinkFSPath arg0, String arg1)
method_45217(class_7668 arg0, String arg1)
relativize(ResourcePath path, String name)
m_245307_(C_243477_ p_249966_, String arg1)
public LinkFileSystem
a()
getFileSystem()
method_45214()
getFileSystem()
getFileSystem()
public boolean
isAbsolute()
isAbsolute()
isAbsolute()
public File
toFile()
toFile()
toFile()
public LinkFSPath
b()
getRoot()
method_45223()
getRoot()
getRoot()
public LinkFSPath
c()
getFileName()
method_45225()
getFileName()
getFileName()
public LinkFSPath
d()
getParent()
method_45227()
getParent()
getParent()
public int
getNameCount()
getNameCount()
getNameCount()
private List<String>
l()
pathToRoot()
method_45235()
getNames()
m_246070_()
public LinkFSPath
a(int arg0)
getName(int arg0)
method_45215(int arg0)
getName(int arg0)
getName(int arg0)
public LinkFSPath
a(int arg0, int arg1)
subpath(int arg0, int arg1)
method_45216(int arg0, int arg1)
subpath(int arg0, int arg1)
subpath(int p_248807_, int arg1)
public boolean
startsWith(Path arg0)
startsWith(Path arg0)
startsWith(Path arg0)
startsWith(Path other)
startsWith(Path arg0)
public boolean
endsWith(Path arg0)
endsWith(Path arg0)
endsWith(Path arg0)
endsWith(Path other)
endsWith(Path arg0)
public LinkFSPath
e()
normalize()
method_45228()
normalize()
normalize()
public LinkFSPath
a(Path arg0)
resolve(Path arg0)
method_45220(Path arg0)
resolve(Path arg0)
resolve(Path arg0)
private LinkFSPath
a(List<String> arg0)
resolve(List<String> arg0)
method_45221(List<String> arg0)
get(List<String> paths)
m_246014_(List<String> arg0)
LinkFSPath
a(String arg0)
resolveName(String arg0)
method_45219(String arg0)
get(String name)
m_247714_(String arg0)
private static boolean
a(amr arg0)
isRelativeOrMissing(PathContents arg0)
method_45218(class_7673 arg0)
isSpecial(ResourceFile file)
m_245789_(C_243562_ p_248750_)
public LinkFSPath
b(Path arg0)
relativize(Path arg0)
method_45224(Path arg0)
relativize(Path arg0)
relativize(Path arg0)
public URI
toUri()
toUri()
toUri()
public LinkFSPath
f()
toAbsolutePath()
method_45229()
toAbsolutePath()
toAbsolutePath()
public LinkFSPath
a(LinkOption... arg0)
toRealPath(LinkOption... arg0)
method_45222(LinkOption... arg0)
toRealPath(LinkOption... arg0)
toRealPath(LinkOption... arg0)
public WatchKey
register(WatchService arg0, WatchEvent$Kind<?>[] arg1, WatchEvent$Modifier... arg2)
register(WatchService arg0, WatchEvent$Kind<?>[] arg1, WatchEvent$Modifier... arg2)
register(WatchService arg0, WatchEvent$Kind<?>[] arg1, WatchEvent$Modifier... arg2)
register(WatchService watcher, WatchEvent$Kind<?>[] events, WatchEvent$Modifier... modifiers)
register(WatchService p_249917_, WatchEvent$Kind<?>[] p_251602_, WatchEvent$Modifier... arg2)
public int
compareTo(Path arg0)
compareTo(Path arg0)
compareTo(Path arg0)
compareTo(Path arg0)
compareTo(Path arg0)
private boolean
m()
hasRealContents()
method_45236()
isNormal()
m_246418_()
private String
n()
pathToString()
method_45237()
getPathString()
m_245921_()
private LinkFSPath
c(Path arg0)
toLinkPath(Path arg0)
method_45226(Path arg0)
toResourcePath(Path path)
m_246027_(Path arg0)
public boolean
g()
exists()
method_45230()
isReadable()
m_245626_()
public Path
h()
getTargetPath()
method_45231()
toPath()
m_247488_()
public PathContents$DirectoryContents
i()
getDirectoryContents()
method_45232()
toDirectory()
m_245177_()
public BasicFileAttributeView
j()
getBasicAttributeView()
method_45233()
getAttributeView()
m_246530_()
public BasicFileAttributes
k()
getBasicAttributes()
method_45234()
getAttributes()
m_246308_()