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

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, org.kie.commons.java.nio.base.FileSystemId, org.kie.commons.java.nio.file.FileSystem
Direct Known Subclasses:
SimpleUnixFileSystem, SimpleWindowsFileSystem

public abstract class BaseSimpleFileSystem
extends Object
implements org.kie.commons.java.nio.file.FileSystem, org.kie.commons.java.nio.base.FileSystemId


Method Summary
 void close()
           
 org.kie.commons.java.nio.file.Path getPath(String first, String... more)
           
 org.kie.commons.java.nio.file.PathMatcher getPathMatcher(String syntaxAndPattern)
           
 String getSeparator()
           
 org.kie.commons.java.nio.file.attribute.UserPrincipalLookupService getUserPrincipalLookupService()
           
 String id()
           
 boolean isOpen()
           
 boolean isReadOnly()
           
 org.kie.commons.java.nio.file.WatchService newWatchService()
           
 org.kie.commons.java.nio.file.spi.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 org.kie.commons.java.nio.base.FileSystemId

provider

public org.kie.commons.java.nio.file.spi.FileSystemProvider provider()
Specified by:
provider in interface org.kie.commons.java.nio.file.FileSystem

isOpen

public boolean isOpen()
Specified by:
isOpen in interface org.kie.commons.java.nio.file.FileSystem

isReadOnly

public boolean isReadOnly()
Specified by:
isReadOnly in interface org.kie.commons.java.nio.file.FileSystem

getSeparator

public String getSeparator()
Specified by:
getSeparator in interface org.kie.commons.java.nio.file.FileSystem

supportedFileAttributeViews

public Set<String> supportedFileAttributeViews()
Specified by:
supportedFileAttributeViews in interface org.kie.commons.java.nio.file.FileSystem

getPath

public org.kie.commons.java.nio.file.Path getPath(String first,
                                                  String... more)
                                           throws org.kie.commons.java.nio.file.InvalidPathException
Specified by:
getPath in interface org.kie.commons.java.nio.file.FileSystem
Throws:
org.kie.commons.java.nio.file.InvalidPathException

getPathMatcher

public org.kie.commons.java.nio.file.PathMatcher getPathMatcher(String syntaxAndPattern)
                                                         throws IllegalArgumentException,
                                                                PatternSyntaxException,
                                                                UnsupportedOperationException
Specified by:
getPathMatcher in interface org.kie.commons.java.nio.file.FileSystem
Throws:
IllegalArgumentException
PatternSyntaxException
UnsupportedOperationException

getUserPrincipalLookupService

public org.kie.commons.java.nio.file.attribute.UserPrincipalLookupService getUserPrincipalLookupService()
                                                                                                 throws UnsupportedOperationException
Specified by:
getUserPrincipalLookupService in interface org.kie.commons.java.nio.file.FileSystem
Throws:
UnsupportedOperationException

newWatchService

public org.kie.commons.java.nio.file.WatchService newWatchService()
                                                           throws UnsupportedOperationException,
                                                                  org.kie.commons.java.nio.IOException
Specified by:
newWatchService in interface org.kie.commons.java.nio.file.FileSystem
Throws:
UnsupportedOperationException
org.kie.commons.java.nio.IOException

close

public void close()
           throws org.kie.commons.java.nio.IOException,
                  UnsupportedOperationException
Specified by:
close in interface Closeable
Throws:
org.kie.commons.java.nio.IOException
UnsupportedOperationException

toString

public String toString()
Overrides:
toString in class Object

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

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