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, wait
getFileStores, getRootDirectories
public 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 FileSystemId
public FileSystemProvider provider()
provider
in interface FileSystem
public boolean isOpen()
isOpen
in interface FileSystem
public boolean isReadOnly()
isReadOnly
in interface FileSystem
public String getSeparator()
getSeparator
in interface FileSystem
public Set<String> supportedFileAttributeViews()
supportedFileAttributeViews
in interface FileSystem
public Path getPath(String first, String... more) throws InvalidPathException
getPath
in interface FileSystem
InvalidPathException
public PathMatcher getPathMatcher(String syntaxAndPattern) throws IllegalArgumentException, PatternSyntaxException, UnsupportedOperationException
getPathMatcher
in interface FileSystem
IllegalArgumentException
PatternSyntaxException
UnsupportedOperationException
public UserPrincipalLookupService getUserPrincipalLookupService() throws UnsupportedOperationException
getUserPrincipalLookupService
in interface FileSystem
UnsupportedOperationException
public WatchService newWatchService() throws UnsupportedOperationException, IOException
newWatchService
in interface FileSystem
UnsupportedOperationException
IOException
public void close() throws IOException, UnsupportedOperationException
close
in interface Closeable
close
in interface AutoCloseable
IOException
UnsupportedOperationException
public String getName()
getName
in interface FileSystem
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.