Class LinkFSProvider
java.lang.Object
java.nio.file.spi.FileSystemProvider
net.minecraft.server.packs.linkfs.LinkFSProvider
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkAccess
(Path p_248517_, AccessMode... p_248805_) void
copy
(Path p_250627_, Path p_248906_, CopyOption... p_249289_) void
createDirectory
(Path p_252352_, FileAttribute<?>... p_249694_) void
<V extends FileAttributeView>
VgetFileAttributeView
(Path p_250166_, Class<V> p_252214_, LinkOption... p_250559_) getFileStore
(Path p_249374_) getFileSystem
(URI p_249279_) boolean
boolean
isSameFile
(Path p_249846_, Path p_251936_) void
move
(Path p_250866_, Path p_250335_, CopyOption... p_249156_) newByteChannel
(Path p_251835_, Set<? extends OpenOption> p_251780_, FileAttribute<?>... p_250474_) newDirectoryStream
(Path p_250116_, DirectoryStream.Filter<? super Path> p_251710_) newFileSystem
(URI p_251867_, Map<String, ?> p_250970_) <A extends BasicFileAttributes>
AreadAttributes
(Path p_249764_, Class<A> p_248604_, LinkOption... p_252280_) readAttributes
(Path p_252124_, String p_249064_, LinkOption... p_252305_) void
setAttribute
(Path p_251468_, String p_249411_, Object p_249284_, LinkOption... p_250990_) private static LinkFSPath
toLinkPath
(Path p_252065_) Methods inherited from class java.nio.file.spi.FileSystemProvider
createLink, createSymbolicLink, deleteIfExists, installedProviders, newAsynchronousFileChannel, newFileChannel, newFileSystem, newInputStream, newOutputStream, readSymbolicLink
-
Field Details
-
SCHEME
- See Also:
-
-
Constructor Details
-
LinkFSProvider
LinkFSProvider()
-
-
Method Details
-
getScheme
- Specified by:
getScheme
in classFileSystemProvider
-
newFileSystem
- Specified by:
newFileSystem
in classFileSystemProvider
-
getFileSystem
- Specified by:
getFileSystem
in classFileSystemProvider
-
getPath
- Specified by:
getPath
in classFileSystemProvider
-
newByteChannel
public SeekableByteChannel newByteChannel(Path p_251835_, Set<? extends OpenOption> p_251780_, FileAttribute<?>... p_250474_) throws IOException - Specified by:
newByteChannel
in classFileSystemProvider
- Throws:
IOException
-
newDirectoryStream
public DirectoryStream<Path> newDirectoryStream(Path p_250116_, DirectoryStream.Filter<? super Path> p_251710_) throws IOException - Specified by:
newDirectoryStream
in classFileSystemProvider
- Throws:
IOException
-
createDirectory
- Specified by:
createDirectory
in classFileSystemProvider
-
delete
- Specified by:
delete
in classFileSystemProvider
-
copy
- Specified by:
copy
in classFileSystemProvider
-
move
- Specified by:
move
in classFileSystemProvider
-
isSameFile
- Specified by:
isSameFile
in classFileSystemProvider
-
isHidden
- Specified by:
isHidden
in classFileSystemProvider
-
getFileStore
- Specified by:
getFileStore
in classFileSystemProvider
-
checkAccess
- Specified by:
checkAccess
in classFileSystemProvider
- Throws:
IOException
-
getFileAttributeView
@Nullable public <V extends FileAttributeView> V getFileAttributeView(Path p_250166_, Class<V> p_252214_, LinkOption... p_250559_) - Specified by:
getFileAttributeView
in classFileSystemProvider
-
readAttributes
public <A extends BasicFileAttributes> A readAttributes(Path p_249764_, Class<A> p_248604_, LinkOption... p_252280_) throws IOException - Specified by:
readAttributes
in classFileSystemProvider
- Throws:
IOException
-
readAttributes
- Specified by:
readAttributes
in classFileSystemProvider
-
setAttribute
public void setAttribute(Path p_251468_, String p_249411_, Object p_249284_, LinkOption... p_250990_) - Specified by:
setAttribute
in classFileSystemProvider
-
toLinkPath
-