net.minecraft.datafixer.file.cowfs

public class CowFsProvider

extends FileSystemProvider

net.minecraft.util.filefix.virtualfilesystem.CopyOnWriteFSProvider
net.minecraft.class_1_268
net.minecraft.datafixer.file.cowfs.CowFsProvider

Field summary

Modifier and TypeField
public static final String
SCHEME
field_1_1651
SCHEME
private static final BasicFileAttributeView
DUMMY_DIRECTORY_VIEW
field_1_1650
ATTRIBUTES
private final CowFs
fs
field_1_1652
fileSystem

Constructor summary

ModifierConstructor
public (CowFs fileSystem)

Method summary

Modifier and TypeMethod
public String
getScheme()
public FileSystem
newFileSystem(URI uri, Map<String, ?> env)
newFileSystem(URI arg0, Map<String, ?> arg1)
newFileSystem(URI uri, Map<String, ?> env)
public FileSystem
getFileSystem(URI uri)
getFileSystem(URI arg0)
getFileSystem(URI uri)
public Path
getPath(URI uri)
getPath(URI arg0)
getPath(URI uri)
public SeekableByteChannel
newByteChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>... attrs)
newByteChannel(Path arg0, Set<? extends OpenOption> arg1, FileAttribute<?>... arg2)
newByteChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>... attrs)
public FileChannel
newFileChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>... attrs)
newFileChannel(Path arg0, Set<? extends OpenOption> arg1, FileAttribute<?>... arg2)
newFileChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>... attrs)
private synchronized <C> C
newChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>[] attrs, CopyOnWriteFSProvider$ChannelFactory<C> channelFactory)
method_1_2039(Path arg0, Set<? extends OpenOption> arg1, FileAttribute<?>[] arg2, class_1_268$class_1_269<C> arg3)
newChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>[] attrs, CowFsProvider$ChannelFactory<C> channelFactory)
private static boolean
wantsWrite(Set<? extends OpenOption> options)
method_1_2040(Set<? extends OpenOption> arg0)
hasWriteOptions(Set<? extends OpenOption> options)
public synchronized DirectoryStream<Path>
newDirectoryStream(Path dir, DirectoryStream$Filter<? super Path> filter)
newDirectoryStream(Path arg0, DirectoryStream$Filter<? super Path> arg1)
newDirectoryStream(Path dir, DirectoryStream$Filter<? super Path> filter)
public synchronized void
createDirectory(Path dir, FileAttribute<?>... attrs)
createDirectory(Path arg0, FileAttribute<?>... arg1)
createDirectory(Path dir, FileAttribute<?>... attrs)
public synchronized void
delete(Path path)
delete(Path arg0)
delete(Path file)
public void
copy(Path source, Path target, CopyOption... options)
copy(Path arg0, Path arg1, CopyOption... arg2)
copy(Path source, Path target, CopyOption... options)
public synchronized void
move(Path source, Path target, CopyOption... options)
move(Path arg0, Path arg1, CopyOption... arg2)
move(Path source, Path target, CopyOption... options)
public boolean
isSameFile(Path path, Path path2)
public boolean
isHidden(Path path)
public FileStore
getFileStore(Path path)
public synchronized void
checkAccess(Path path, AccessMode... modes)
checkAccess(Path arg0, AccessMode... arg1)
checkAccess(Path path, AccessMode... modes)
public synchronized <V extends FileAttributeView> V
getFileAttributeView(Path path, Class<V> type, LinkOption... options)
getFileAttributeView(Path arg0, Class<V> arg1, LinkOption... arg2)
getFileAttributeView(Path path, Class<V> type, LinkOption... options)
public synchronized <A extends BasicFileAttributes> A
readAttributes(Path path, Class<A> type, LinkOption... options)
readAttributes(Path arg0, Class<A> arg1, LinkOption... arg2)
readAttributes(Path path, Class<A> type, LinkOption... options)
public Map<String, Object>
readAttributes(Path path, String attributes, LinkOption... options)
readAttributes(Path arg0, String arg1, LinkOption... arg2)
readAttributes(Path path, String attribute, LinkOption... options)
public void
setAttribute(Path path, String attribute, Object value, LinkOption... options)
setAttribute(Path arg0, String arg1, Object arg2, LinkOption... arg3)
setAttribute(Path path, String attributes, Object value, LinkOption... options)
public synchronized CowFsPath
getRealPath(CopyOnWriteFSPath path)
method_1_2038(class_1_261 arg0)
toRealPath(CowFsPath path)