Class LinkFileSystem
java.lang.Object
java.nio.file.FileSystem
net.minecraft.server.packs.linkfs.LinkFileSystem
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class(package private) static final record -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprivate static final com.google.common.base.Splitterprivate final FileSystemProviderprivate final LinkFSPathprivate final FileStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LinkFileSystem.Builderbuilder()private static LinkFSPathbuildPath(LinkFileSystem.DirectoryEntry p_250914_, LinkFileSystem p_248904_, String p_248935_, LinkFSPath p_250296_) voidclose()getPathMatcher(String p_250757_) booleanisOpen()booleanprovider()rootPath()store()
-
Field Details
-
VIEWS
-
PATH_SEPARATOR
- See Also:
-
PATH_SPLITTER
private static final com.google.common.base.Splitter PATH_SPLITTER -
store
-
provider
-
root
-
-
Constructor Details
-
LinkFileSystem
LinkFileSystem(String p_251238_, LinkFileSystem.DirectoryEntry p_248738_)
-
-
Method Details
-
buildPath
private static LinkFSPath buildPath(LinkFileSystem.DirectoryEntry p_250914_, LinkFileSystem p_248904_, String p_248935_, @Nullable LinkFSPath p_250296_) -
provider
- Specified by:
providerin classFileSystem
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classFileSystem
-
isOpen
public boolean isOpen()- Specified by:
isOpenin classFileSystem
-
isReadOnly
public boolean isReadOnly()- Specified by:
isReadOnlyin classFileSystem
-
getSeparator
- Specified by:
getSeparatorin classFileSystem
-
getRootDirectories
- Specified by:
getRootDirectoriesin classFileSystem
-
getFileStores
- Specified by:
getFileStoresin classFileSystem
-
supportedFileAttributeViews
- Specified by:
supportedFileAttributeViewsin classFileSystem
-
getPath
- Specified by:
getPathin classFileSystem
-
getPathMatcher
- Specified by:
getPathMatcherin classFileSystem
-
getUserPrincipalLookupService
- Specified by:
getUserPrincipalLookupServicein classFileSystem
-
newWatchService
- Specified by:
newWatchServicein classFileSystem
-
store
-
rootPath
-
builder
-