org.kie.commons.java.nio.fs.file
Class BaseSimpleFileSystem
java.lang.Object
org.kie.commons.java.nio.fs.file.BaseSimpleFileSystem
- All Implemented Interfaces:
- Closeable, FileSystemId, FileSystem
- Direct Known Subclasses:
- SimpleUnixFileSystem, SimpleWindowsFileSystem
public abstract class BaseSimpleFileSystem
- extends Object
- implements FileSystem, FileSystemId
id
public String id()
- Specified by:
id in interface FileSystemId
provider
public FileSystemProvider provider()
- Specified by:
provider in interface FileSystem
isOpen
public boolean isOpen()
- Specified by:
isOpen in interface FileSystem
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnly in interface FileSystem
getSeparator
public String getSeparator()
- Specified by:
getSeparator in interface FileSystem
supportedFileAttributeViews
public Set<String> supportedFileAttributeViews()
- Specified by:
supportedFileAttributeViews in interface FileSystem
getPath
public Path getPath(String first,
String... more)
throws InvalidPathException
- Specified by:
getPath in interface FileSystem
- Throws:
InvalidPathException
getPathMatcher
public PathMatcher getPathMatcher(String syntaxAndPattern)
throws IllegalArgumentException,
PatternSyntaxException,
UnsupportedOperationException
- Specified by:
getPathMatcher in interface FileSystem
- Throws:
IllegalArgumentException
PatternSyntaxException
UnsupportedOperationException
getUserPrincipalLookupService
public UserPrincipalLookupService getUserPrincipalLookupService()
throws UnsupportedOperationException
- Specified by:
getUserPrincipalLookupService in interface FileSystem
- Throws:
UnsupportedOperationException
newWatchService
public WatchService newWatchService()
throws UnsupportedOperationException,
IOException
- Specified by:
newWatchService in interface FileSystem
- Throws:
UnsupportedOperationException
IOException
close
public void close()
throws IOException,
UnsupportedOperationException
- Specified by:
close in interface Closeable
- Throws:
IOException
UnsupportedOperationException
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.