net.minecraft.datafixer.file.cowfs

public class CowFsPath

implements Path

net.minecraft.util.filefix.virtualfilesystem.CopyOnWriteFSPath
net.minecraft.class_1_261
net.minecraft.datafixer.file.cowfs.CowFsPath

Field summary

Modifier and TypeField
private final Path
path
field_1_1641
underlying
private final CowFs
fs
field_1_1639
fileSystem
private final boolean
isAbsolute
field_1_1640
absolute

Constructor summary

ModifierConstructor
private (Path underlying, CowFs fileSystem, boolean absolute)

Method summary

Modifier and TypeMethod
protected static CowFsPath
of(CopyOnWriteFileSystem fs, String first, String... more)
method_1_2013(class_1_270 arg0, String arg1, String... arg2)
getPath(CowFs fileSystem, String first, String... more)
public CowFs
getFileSystem()
method_1_2009()
getFileSystem()
public boolean
isAbsolute()
public Path
getRoot()
public CowFsPath
getFileName()
method_1_2008()
getFileName()
public CowFsPath
getParent()
method_1_2010()
getParent()
public int
getNameCount()
public Path
getName(int index)
getName(int arg0)
getName(int index)
public Path
subpath(int beginIndex, int endIndex)
subpath(int arg0, int arg1)
subpath(int beginIndex, int endIndex)
public boolean
startsWith(Path other)
startsWith(Path arg0)
startsWith(Path other)
public boolean
endsWith(Path other)
endsWith(Path arg0)
endsWith(Path other)
public CowFsPath
normalize()
method_1_2012()
normalize()
public CowFsPath
resolve(Path other)
method_1_2017(Path arg0)
resolve(Path arg0)
public CowFsPath
resolve(String other)
method_1_2015(String arg0)
resolve(String arg0)
public CowFsPath
resolve(String first, String... more)
method_1_2016(String arg0, String... arg1)
resolve(String arg0, String... arg1)
public CowFsPath
relativize(Path other)
method_1_2014(Path arg0)
relativize(Path arg0)
public URI
toUri()
public CowFsPath
toAbsolutePath()
method_1_2018()
toAbsolutePath()
public CowFsPath
toRealPath(LinkOption... options)
method_1_2019(LinkOption... arg0)
toRealPath(LinkOption... arg0)
public WatchKey
register(WatchService watcher, WatchEvent$Kind<?>[] events, WatchEvent$Modifier... modifiers)
public int
compareTo(Path other)
compareTo(Path arg0)
compareTo(Path arg0)
protected boolean
isRoot()
method_1_2011()
isEmpty()
protected static CowFsPath
asCow(Path other)
method_1_2007(Path arg0)
assertInCowFs(Path other)
public Path
toRealPath(LinkOption[] options)
toRealPath(LinkOption[] arg0)
toRealPath(LinkOption[] linkOptions)
public Path
toAbsolutePath()
public Path
relativize(Path other)
relativize(Path arg0)
relativize(Path other)
public Path
resolve(String first, String[] more)
resolve(String arg0, String[] arg1)
resolve(String first, String[] more)
public Path
resolve(String other)
resolve(String arg0)
resolve(String other)
public Path
resolve(Path other)
resolve(Path arg0)
resolve(Path other)
public Path
normalize()
public Path
getParent()
public Path
getFileName()
public FileSystem
getFileSystem()
public int
compareTo(Object other)
compareTo(Object arg0)
compareTo(Object other)