KIE NIO.2 :: File System Impl 6.0.0.Beta3

org.kie.commons.java.nio.fs.file
Class BaseSimpleFileSystem

java.lang.Object
  extended by 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


Method Summary
 void close()
           
 Path getPath(String first, String... more)
           
 PathMatcher getPathMatcher(String syntaxAndPattern)
           
 String getSeparator()
           
 UserPrincipalLookupService getUserPrincipalLookupService()
           
 String id()
           
 boolean isOpen()
           
 boolean isReadOnly()
           
 WatchService newWatchService()
           
 FileSystemProvider provider()
           
 Set<String> supportedFileAttributeViews()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kie.commons.java.nio.file.FileSystem
getFileStores, getRootDirectories
 

Method Detail

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

KIE NIO.2 :: File System Impl 6.0.0.Beta3

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.