public abstract class BaseSimpleFileSystem extends Object implements FileSystem, FileSystemId
| Modifier and Type | Field and Description |
|---|---|
static char |
UNIX_SEPARATOR |
static String |
UNIX_SEPARATOR_STRING |
static char |
WINDOWS_SEPARATOR |
static String |
WINDOWS_SEPARATOR_STRING |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getName() |
Path |
getPath(String first,
String... more) |
PathMatcher |
getPathMatcher(String syntaxAndPattern) |
String |
getSeparator() |
String |
getSeparator(String path) |
UserPrincipalLookupService |
getUserPrincipalLookupService() |
String |
id() |
boolean |
isOpen() |
boolean |
isReadOnly() |
WatchService |
newWatchService() |
FileSystemProvider |
provider() |
Set<String> |
supportedFileAttributeViews() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFileStores, getRootDirectoriespublic static final char UNIX_SEPARATOR
public static final char WINDOWS_SEPARATOR
public static final String UNIX_SEPARATOR_STRING
public static final String WINDOWS_SEPARATOR_STRING
public String id()
id in interface FileSystemIdpublic FileSystemProvider provider()
provider in interface FileSystempublic boolean isOpen()
isOpen in interface FileSystempublic boolean isReadOnly()
isReadOnly in interface FileSystempublic String getSeparator()
getSeparator in interface FileSystempublic Set<String> supportedFileAttributeViews()
supportedFileAttributeViews in interface FileSystempublic Path getPath(String first, String... more) throws InvalidPathException
getPath in interface FileSystemInvalidPathExceptionpublic PathMatcher getPathMatcher(String syntaxAndPattern) throws IllegalArgumentException, PatternSyntaxException, UnsupportedOperationException
getPathMatcher in interface FileSystemIllegalArgumentExceptionPatternSyntaxExceptionUnsupportedOperationExceptionpublic UserPrincipalLookupService getUserPrincipalLookupService() throws UnsupportedOperationException
getUserPrincipalLookupService in interface FileSystemUnsupportedOperationExceptionpublic WatchService newWatchService() throws UnsupportedOperationException, IOException
newWatchService in interface FileSystemUnsupportedOperationExceptionIOExceptionpublic void close()
throws IOException,
UnsupportedOperationException
close in interface Closeableclose in interface AutoCloseableIOExceptionUnsupportedOperationExceptionpublic String getName()
getName in interface FileSystemCopyright © 2012–2020 JBoss by Red Hat. All rights reserved.