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 path, AccessMode... modes) voidcopy(Path source, Path target, CopyOption... options) voidcreateDirectory(Path path, FileAttribute<?>... attributes) void<V extends FileAttributeView>
VgetFileAttributeView(Path path, Class<V> type, LinkOption... options) getFileStore(Path path) getFileSystem(URI uri) booleanbooleanisSameFile(Path path, Path path2) voidmove(Path source, Path target, CopyOption... options) newByteChannel(Path p_path, Set<? extends OpenOption> options, FileAttribute<?>... attributes) newDirectoryStream(Path directory, DirectoryStream.Filter<? super Path> filter) newFileSystem(URI uri, Map<String, ?> enviroment) <A extends BasicFileAttributes>
AreadAttributes(Path path, Class<A> type, LinkOption... options) readAttributes(Path path, String attributes, LinkOption... options) voidsetAttribute(Path path, String attribute, Object value, LinkOption... options) private static LinkFSPathtoLinkPath(Path path) 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_path, Set<? extends OpenOption> options, FileAttribute<?>... attributes) throws IOException - Specified by:
newByteChannelin classFileSystemProvider- Throws:
IOException
-
newDirectoryStream
public DirectoryStream<Path> newDirectoryStream(Path directory, DirectoryStream.Filter<? super Path> filter) 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 path, Class<V> type, LinkOption... options) - Specified by:
getFileAttributeViewin classFileSystemProvider
-
readAttributes
public <A extends BasicFileAttributes> A readAttributes(Path path, Class<A> type, LinkOption... options) throws IOException - Specified by:
readAttributesin classFileSystemProvider- Throws:
IOException
-
readAttributes
- Specified by:
readAttributesin classFileSystemProvider
-
setAttribute
- Specified by:
setAttributein classFileSystemProvider
-
toLinkPath
-