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 pPath, AccessMode... pModes) voidcopy(Path pSource, Path pTarget, CopyOption... pOptions) voidcreateDirectory(Path pPath, FileAttribute<?>... pAttributes) void<V extends FileAttributeView>
VgetFileAttributeView(Path pPath, Class<V> pType, LinkOption... pOptions) getFileStore(Path pPath) getFileSystem(URI pUri) booleanbooleanisSameFile(Path pPath, Path pPath2) voidmove(Path pSource, Path pTarget, CopyOption... pOptions) newByteChannel(Path pPath, Set<? extends OpenOption> pOptions, FileAttribute<?>... pAttributes) newDirectoryStream(Path pDirectory, DirectoryStream.Filter<? super Path> pFilter) newFileSystem(URI pUri, Map<String, ?> pEnvironment) <A extends BasicFileAttributes>
AreadAttributes(Path pPath, Class<A> pType, LinkOption... pOptions) readAttributes(Path pPath, String pAttributes, LinkOption... pOptions) voidsetAttribute(Path pPath, String pAttribute, Object pValue, LinkOption... pOptions) private static LinkFSPathtoLinkPath(Path pPath) 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 pPath, Set<? extends OpenOption> pOptions, FileAttribute<?>... pAttributes) throws IOException - Specified by:
newByteChannelin classFileSystemProvider- Throws:
IOException
-
newDirectoryStream
public DirectoryStream<Path> newDirectoryStream(Path pDirectory, DirectoryStream.Filter<? super Path> pFilter) 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 pPath, Class<V> pType, LinkOption... pOptions) - Specified by:
getFileAttributeViewin classFileSystemProvider
-
readAttributes
public <A extends BasicFileAttributes> A readAttributes(Path pPath, Class<A> pType, LinkOption... pOptions) throws IOException - Specified by:
readAttributesin classFileSystemProvider- Throws:
IOException
-
readAttributes
- Specified by:
readAttributesin classFileSystemProvider
-
setAttribute
- Specified by:
setAttributein classFileSystemProvider
-
toLinkPath
-