Class LinkFileSystem
java.lang.Object
java.nio.file.FileSystem
net.minecraft.server.packs.linkfs.LinkFileSystem
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
(package private) static final record
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
private static final com.google.common.base.Splitter
private final FileSystemProvider
private final LinkFSPath
private final FileStore
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LinkFileSystem.Builder
builder()
private static LinkFSPath
buildPath
(LinkFileSystem.DirectoryEntry p_250914_, LinkFileSystem p_248904_, String p_248935_, LinkFSPath p_250296_) void
close()
getPathMatcher
(String p_250757_) boolean
isOpen()
boolean
provider()
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:
provider
in classFileSystem
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classFileSystem
-
isOpen
public boolean isOpen()- Specified by:
isOpen
in classFileSystem
-
isReadOnly
public boolean isReadOnly()- Specified by:
isReadOnly
in classFileSystem
-
getSeparator
- Specified by:
getSeparator
in classFileSystem
-
getRootDirectories
- Specified by:
getRootDirectories
in classFileSystem
-
getFileStores
- Specified by:
getFileStores
in classFileSystem
-
supportedFileAttributeViews
- Specified by:
supportedFileAttributeViews
in classFileSystem
-
getPath
- Specified by:
getPath
in classFileSystem
-
getPathMatcher
- Specified by:
getPathMatcher
in classFileSystem
-
getUserPrincipalLookupService
- Specified by:
getUserPrincipalLookupService
in classFileSystem
-
newWatchService
- Specified by:
newWatchService
in classFileSystem
-
store
-
rootPath
-
builder
-