Package org.apache.nio
Class BaseFileSystem<T extends Path,P extends FileSystemProvider>
java.lang.Object
java.nio.file.FileSystem
org.apache.nio.BaseFileSystem<T,P>
- All Implemented Interfaces:
Closeable,AutoCloseable
- Direct Known Subclasses:
Vfs2NioFileSystem
public abstract class BaseFileSystem<T extends Path,P extends FileSystemProvider>
extends FileSystem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected Tprotected Tcreate(String root, Collection<String> names) protected abstract Tcreate(String root, ImmutableList<String> names) getPathMatcher(String syntaxAndPattern) protected StringglobToRegex(String pattern) booleanprovider()Methods inherited from class java.nio.file.FileSystem
close, isOpen, supportedFileAttributeViews
-
Constructor Details
-
BaseFileSystem
-
-
Method Details
-
getDefaultDir
-
getFileStores
- Specified by:
getFileStoresin classFileSystem
-
getPath
- Specified by:
getPathin classFileSystem
-
getPathMatcher
- Specified by:
getPathMatcherin classFileSystem
-
getRootDirectories
- Specified by:
getRootDirectoriesin classFileSystem
-
getSeparator
- Specified by:
getSeparatorin classFileSystem
-
getUserPrincipalLookupService
- Specified by:
getUserPrincipalLookupServicein classFileSystem
-
isReadOnly
public boolean isReadOnly()- Specified by:
isReadOnlyin classFileSystem
-
newWatchService
- Specified by:
newWatchServicein classFileSystem- Throws:
IOException
-
provider
- Specified by:
providerin classFileSystem
-
appendDedupSep
-
create
-
create
-
create
-
globToRegex
-