Class LinkFSProvider
java.lang.Object
java.nio.file.spi.FileSystemProvider
net.minecraft.server.packs.linkfs.LinkFSProvider
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckAccess(Path p_248517_, AccessMode... p_248805_) voidcopy(Path p_250627_, Path p_248906_, CopyOption... p_249289_) voidcreateDirectory(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_) booleanbooleanisSameFile(Path p_249846_, Path p_251936_) voidmove(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_) voidsetAttribute(Path p_251468_, String p_249411_, Object p_249284_, LinkOption... p_250990_) private static LinkFSPathtoLinkPath(Path p_252065_) Methods inherited from class java.nio.file.spi.FileSystemProvider
createLink, createSymbolicLink, deleteIfExists, exists, installedProviders, newAsynchronousFileChannel, newFileChannel, newFileSystem, newInputStream, newOutputStream, readAttributesIfExists, readSymbolicLink
-
Field Details
-
SCHEME
- See Also:
-
-
Constructor Details
-
LinkFSProvider
LinkFSProvider()
-
-
Method Details
-
getScheme
- Specified by:
getSchemein classFileSystemProvider
-
newFileSystem
- Specified by:
newFileSystemin classFileSystemProvider
-
getFileSystem
- Specified by:
getFileSystemin classFileSystemProvider
-
getPath
- Specified by:
getPathin classFileSystemProvider
-
newByteChannel
public SeekableByteChannel newByteChannel(Path p_251835_, Set<? extends OpenOption> p_251780_, FileAttribute<?>... p_250474_) throws IOException - Specified by:
newByteChannelin classFileSystemProvider- Throws:
IOException
-
newDirectoryStream
public DirectoryStream<Path> newDirectoryStream(Path p_250116_, DirectoryStream.Filter<? super Path> p_251710_) throws IOException - Specified by:
newDirectoryStreamin classFileSystemProvider- Throws:
IOException
-
createDirectory
- Specified by:
createDirectoryin classFileSystemProvider
-
delete
- Specified by:
deletein classFileSystemProvider
-
copy
- Specified by:
copyin classFileSystemProvider
-
move
- Specified by:
movein classFileSystemProvider
-
isSameFile
- Specified by:
isSameFilein classFileSystemProvider
-
isHidden
- Specified by:
isHiddenin classFileSystemProvider
-
getFileStore
- Specified by:
getFileStorein classFileSystemProvider
-
checkAccess
- Specified by:
checkAccessin classFileSystemProvider- Throws:
IOException
-
getFileAttributeView
@Nullable public <V extends FileAttributeView> V getFileAttributeView(Path p_250166_, Class<V> p_252214_, LinkOption... p_250559_) - Specified by:
getFileAttributeViewin classFileSystemProvider
-
readAttributes
public <A extends BasicFileAttributes> A readAttributes(Path p_249764_, Class<A> p_248604_, LinkOption... p_252280_) throws IOException - Specified by:
readAttributesin classFileSystemProvider- Throws:
IOException
-
readAttributes
- Specified by:
readAttributesin classFileSystemProvider
-
setAttribute
public void setAttribute(Path p_251468_, String p_249411_, Object p_249284_, LinkOption... p_250990_) - Specified by:
setAttributein classFileSystemProvider
-
toLinkPath
-