Kieora Commons IO 6.0.0.CR5

org.kie.kieora.io
Class IOServiceIndexedImpl

java.lang.Object
  extended by org.kie.commons.io.impl.AbstractIOService
      extended by org.kie.commons.io.impl.IOServiceDotFileImpl
          extended by org.kie.kieora.io.IOServiceIndexedImpl
All Implemented Interfaces:
org.kie.commons.io.IOService

public class IOServiceIndexedImpl
extends org.kie.commons.io.impl.IOServiceDotFileImpl


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.kie.commons.io.IOService
org.kie.commons.io.IOService.NewFileSystemListener
 
Field Summary
 
Fields inherited from class org.kie.commons.io.impl.AbstractIOService
DEFAULT_FS_TYPE, fileSystems, ioWatchService, isDisposed, lockService, newFileSystemListener, UTF_8
 
Fields inherited from interface org.kie.commons.io.IOService
EMPTY_OPTIONS
 
Constructor Summary
IOServiceIndexedImpl(org.kie.commons.io.IOWatchService watchService, MetaIndexEngine indexEngine, Class<? extends org.kie.commons.java.nio.file.attribute.FileAttributeView>... views)
           
IOServiceIndexedImpl(org.kie.commons.lock.LockService lockService, org.kie.commons.io.IOWatchService watchService, MetaIndexEngine indexEngine, Class<? extends org.kie.commons.java.nio.file.attribute.FileAttributeView>... views)
           
IOServiceIndexedImpl(MetaIndexEngine indexEngine, Class<? extends org.kie.commons.java.nio.file.attribute.FileAttributeView>... views)
           
 
Method Summary
 org.kie.commons.java.nio.file.Path copy(org.kie.commons.java.nio.file.Path source, org.kie.commons.java.nio.file.Path target, org.kie.commons.java.nio.file.CopyOption... options)
           
 org.kie.commons.java.nio.file.Path createFile(org.kie.commons.java.nio.file.Path path, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs)
           
 void delete(org.kie.commons.java.nio.file.Path path, org.kie.commons.java.nio.file.DeleteOption... options)
           
 boolean deleteIfExists(org.kie.commons.java.nio.file.Path path, org.kie.commons.java.nio.file.DeleteOption... options)
           
 org.kie.commons.java.nio.file.FileSystem getFileSystem(URI uri)
           
 org.kie.commons.java.nio.file.Path move(org.kie.commons.java.nio.file.Path source, org.kie.commons.java.nio.file.Path target, org.kie.commons.java.nio.file.CopyOption... options)
           
 BufferedWriter newBufferedWriter(org.kie.commons.java.nio.file.Path path, Charset cs, org.kie.commons.java.nio.file.OpenOption... options)
           
 org.kie.commons.java.nio.channels.SeekableByteChannel newByteChannel(org.kie.commons.java.nio.file.Path path, Set<? extends org.kie.commons.java.nio.file.OpenOption> options, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs)
           
 org.kie.commons.java.nio.file.FileSystem newFileSystem(URI uri, Map<String,?> env, org.kie.commons.io.FileSystemType type)
           
 OutputStream newOutputStream(org.kie.commons.java.nio.file.Path path, org.kie.commons.java.nio.file.OpenOption... options)
           
 org.kie.commons.java.nio.file.Path setAttribute(org.kie.commons.java.nio.file.Path path, String attribute, Object value)
           
 org.kie.commons.java.nio.file.Path setAttributes(org.kie.commons.java.nio.file.Path path, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs)
           
 org.kie.commons.java.nio.file.Path setAttributes(org.kie.commons.java.nio.file.Path path, Map<String,Object> attrs)
           
 
Methods inherited from class org.kie.commons.io.impl.IOServiceDotFileImpl
buildOptions, buildOptions, createDirectories, createDirectory, forceBuildOptions, getAttribute, getFileAttributeView, internalCreateDirectory, isFileScheme, loadDotFile, newView, readAttributes, split
 
Methods inherited from class org.kie.commons.io.impl.AbstractIOService
convert, copy, copy, createDirectories, createDirectory, createTempDirectory, createTempDirectory, createTempFile, createTempFile, dispose, endBatch, exists, get, get, getFileSystems, getFileSystems, getLastModifiedTime, isSameFile, newBufferedReader, newByteChannel, newDirectoryStream, newDirectoryStream, newFileSystem, newInputStream, notExists, onNewFileSystem, readAllBytes, readAllLines, readAllLines, readAllString, readAllString, readAttributes, size, startBatch, write, write, write, write, write, write, write, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kie.commons.io.IOService
convert, copy, copy, createDirectories, createDirectory, createTempDirectory, createTempDirectory, createTempFile, createTempFile, dispose, endBatch, exists, get, get, getFileSystems, getFileSystems, getLastModifiedTime, isSameFile, newBufferedReader, newByteChannel, newDirectoryStream, newDirectoryStream, newFileSystem, newInputStream, notExists, onNewFileSystem, readAllBytes, readAllLines, readAllLines, readAllString, readAllString, readAttributes, size, startBatch, write, write, write, write, write, write, write, write, write, write
 

Constructor Detail

IOServiceIndexedImpl

public IOServiceIndexedImpl(MetaIndexEngine indexEngine,
                            Class<? extends org.kie.commons.java.nio.file.attribute.FileAttributeView>... views)

IOServiceIndexedImpl

public IOServiceIndexedImpl(org.kie.commons.io.IOWatchService watchService,
                            MetaIndexEngine indexEngine,
                            Class<? extends org.kie.commons.java.nio.file.attribute.FileAttributeView>... views)

IOServiceIndexedImpl

public IOServiceIndexedImpl(org.kie.commons.lock.LockService lockService,
                            org.kie.commons.io.IOWatchService watchService,
                            MetaIndexEngine indexEngine,
                            Class<? extends org.kie.commons.java.nio.file.attribute.FileAttributeView>... views)
Method Detail

getFileSystem

public org.kie.commons.java.nio.file.FileSystem getFileSystem(URI uri)
                                                       throws IllegalArgumentException,
                                                              org.kie.commons.java.nio.file.FileSystemNotFoundException,
                                                              org.kie.commons.java.nio.file.ProviderNotFoundException,
                                                              SecurityException
Specified by:
getFileSystem in interface org.kie.commons.io.IOService
Overrides:
getFileSystem in class org.kie.commons.io.impl.AbstractIOService
Throws:
IllegalArgumentException
org.kie.commons.java.nio.file.FileSystemNotFoundException
org.kie.commons.java.nio.file.ProviderNotFoundException
SecurityException

newFileSystem

public org.kie.commons.java.nio.file.FileSystem newFileSystem(URI uri,
                                                              Map<String,?> env,
                                                              org.kie.commons.io.FileSystemType type)
                                                       throws IllegalArgumentException,
                                                              org.kie.commons.java.nio.file.FileSystemAlreadyExistsException,
                                                              org.kie.commons.java.nio.file.ProviderNotFoundException,
                                                              org.kie.commons.java.nio.IOException,
                                                              SecurityException
Specified by:
newFileSystem in interface org.kie.commons.io.IOService
Overrides:
newFileSystem in class org.kie.commons.io.impl.AbstractIOService
Throws:
IllegalArgumentException
org.kie.commons.java.nio.file.FileSystemAlreadyExistsException
org.kie.commons.java.nio.file.ProviderNotFoundException
org.kie.commons.java.nio.IOException
SecurityException

delete

public void delete(org.kie.commons.java.nio.file.Path path,
                   org.kie.commons.java.nio.file.DeleteOption... options)
            throws IllegalArgumentException,
                   org.kie.commons.java.nio.file.NoSuchFileException,
                   org.kie.commons.java.nio.file.DirectoryNotEmptyException,
                   org.kie.commons.java.nio.IOException,
                   SecurityException
Specified by:
delete in interface org.kie.commons.io.IOService
Overrides:
delete in class org.kie.commons.io.impl.IOServiceDotFileImpl
Throws:
IllegalArgumentException
org.kie.commons.java.nio.file.NoSuchFileException
org.kie.commons.java.nio.file.DirectoryNotEmptyException
org.kie.commons.java.nio.IOException
SecurityException

deleteIfExists

public boolean deleteIfExists(org.kie.commons.java.nio.file.Path path,
                              org.kie.commons.java.nio.file.DeleteOption... options)
                       throws IllegalArgumentException,
                              org.kie.commons.java.nio.file.DirectoryNotEmptyException,
                              org.kie.commons.java.nio.IOException,
                              SecurityException
Specified by:
deleteIfExists in interface org.kie.commons.io.IOService
Overrides:
deleteIfExists in class org.kie.commons.io.impl.IOServiceDotFileImpl
Throws:
IllegalArgumentException
org.kie.commons.java.nio.file.DirectoryNotEmptyException
org.kie.commons.java.nio.IOException
SecurityException

newByteChannel

public org.kie.commons.java.nio.channels.SeekableByteChannel newByteChannel(org.kie.commons.java.nio.file.Path path,
                                                                            Set<? extends org.kie.commons.java.nio.file.OpenOption> options,
                                                                            org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs)
                                                                     throws IllegalArgumentException,
                                                                            UnsupportedOperationException,
                                                                            org.kie.commons.java.nio.file.FileAlreadyExistsException,
                                                                            org.kie.commons.java.nio.IOException,
                                                                            SecurityException
Specified by:
newByteChannel in interface org.kie.commons.io.IOService
Overrides:
newByteChannel in class org.kie.commons.io.impl.IOServiceDotFileImpl
Throws:
IllegalArgumentException
UnsupportedOperationException
org.kie.commons.java.nio.file.FileAlreadyExistsException
org.kie.commons.java.nio.IOException
SecurityException

copy

public org.kie.commons.java.nio.file.Path copy(org.kie.commons.java.nio.file.Path source,
                                               org.kie.commons.java.nio.file.Path target,
                                               org.kie.commons.java.nio.file.CopyOption... options)
                                        throws UnsupportedOperationException,
                                               org.kie.commons.java.nio.file.FileAlreadyExistsException,
                                               org.kie.commons.java.nio.file.DirectoryNotEmptyException,
                                               org.kie.commons.java.nio.IOException,
                                               SecurityException
Specified by:
copy in interface org.kie.commons.io.IOService
Overrides:
copy in class org.kie.commons.io.impl.IOServiceDotFileImpl
Throws:
UnsupportedOperationException
org.kie.commons.java.nio.file.FileAlreadyExistsException
org.kie.commons.java.nio.file.DirectoryNotEmptyException
org.kie.commons.java.nio.IOException
SecurityException

move

public org.kie.commons.java.nio.file.Path move(org.kie.commons.java.nio.file.Path source,
                                               org.kie.commons.java.nio.file.Path target,
                                               org.kie.commons.java.nio.file.CopyOption... options)
                                        throws UnsupportedOperationException,
                                               org.kie.commons.java.nio.file.FileAlreadyExistsException,
                                               org.kie.commons.java.nio.file.DirectoryNotEmptyException,
                                               org.kie.commons.java.nio.file.AtomicMoveNotSupportedException,
                                               org.kie.commons.java.nio.IOException,
                                               SecurityException
Specified by:
move in interface org.kie.commons.io.IOService
Overrides:
move in class org.kie.commons.io.impl.IOServiceDotFileImpl
Throws:
UnsupportedOperationException
org.kie.commons.java.nio.file.FileAlreadyExistsException
org.kie.commons.java.nio.file.DirectoryNotEmptyException
org.kie.commons.java.nio.file.AtomicMoveNotSupportedException
org.kie.commons.java.nio.IOException
SecurityException

newOutputStream

public OutputStream newOutputStream(org.kie.commons.java.nio.file.Path path,
                                    org.kie.commons.java.nio.file.OpenOption... options)
                             throws IllegalArgumentException,
                                    UnsupportedOperationException,
                                    org.kie.commons.java.nio.IOException,
                                    SecurityException
Specified by:
newOutputStream in interface org.kie.commons.io.IOService
Overrides:
newOutputStream in class org.kie.commons.io.impl.AbstractIOService
Throws:
IllegalArgumentException
UnsupportedOperationException
org.kie.commons.java.nio.IOException
SecurityException

newBufferedWriter

public BufferedWriter newBufferedWriter(org.kie.commons.java.nio.file.Path path,
                                        Charset cs,
                                        org.kie.commons.java.nio.file.OpenOption... options)
                                 throws IllegalArgumentException,
                                        org.kie.commons.java.nio.IOException,
                                        UnsupportedOperationException,
                                        SecurityException
Specified by:
newBufferedWriter in interface org.kie.commons.io.IOService
Overrides:
newBufferedWriter in class org.kie.commons.io.impl.AbstractIOService
Throws:
IllegalArgumentException
org.kie.commons.java.nio.IOException
UnsupportedOperationException
SecurityException

createFile

public org.kie.commons.java.nio.file.Path createFile(org.kie.commons.java.nio.file.Path path,
                                                     org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs)
                                              throws IllegalArgumentException,
                                                     UnsupportedOperationException,
                                                     org.kie.commons.java.nio.file.FileAlreadyExistsException,
                                                     org.kie.commons.java.nio.IOException,
                                                     SecurityException
Specified by:
createFile in interface org.kie.commons.io.IOService
Overrides:
createFile in class org.kie.commons.io.impl.AbstractIOService
Throws:
IllegalArgumentException
UnsupportedOperationException
org.kie.commons.java.nio.file.FileAlreadyExistsException
org.kie.commons.java.nio.IOException
SecurityException

setAttributes

public org.kie.commons.java.nio.file.Path setAttributes(org.kie.commons.java.nio.file.Path path,
                                                        org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs)
                                                 throws UnsupportedOperationException,
                                                        IllegalArgumentException,
                                                        ClassCastException,
                                                        org.kie.commons.java.nio.IOException,
                                                        SecurityException
Specified by:
setAttributes in interface org.kie.commons.io.IOService
Overrides:
setAttributes in class org.kie.commons.io.impl.IOServiceDotFileImpl
Throws:
UnsupportedOperationException
IllegalArgumentException
ClassCastException
org.kie.commons.java.nio.IOException
SecurityException

setAttributes

public org.kie.commons.java.nio.file.Path setAttributes(org.kie.commons.java.nio.file.Path path,
                                                        Map<String,Object> attrs)
                                                 throws UnsupportedOperationException,
                                                        IllegalArgumentException,
                                                        ClassCastException,
                                                        org.kie.commons.java.nio.IOException,
                                                        SecurityException
Specified by:
setAttributes in interface org.kie.commons.io.IOService
Overrides:
setAttributes in class org.kie.commons.io.impl.AbstractIOService
Throws:
UnsupportedOperationException
IllegalArgumentException
ClassCastException
org.kie.commons.java.nio.IOException
SecurityException

setAttribute

public org.kie.commons.java.nio.file.Path setAttribute(org.kie.commons.java.nio.file.Path path,
                                                       String attribute,
                                                       Object value)
                                                throws UnsupportedOperationException,
                                                       IllegalArgumentException,
                                                       ClassCastException,
                                                       org.kie.commons.java.nio.IOException,
                                                       SecurityException
Specified by:
setAttribute in interface org.kie.commons.io.IOService
Overrides:
setAttribute in class org.kie.commons.io.impl.AbstractIOService
Throws:
UnsupportedOperationException
IllegalArgumentException
ClassCastException
org.kie.commons.java.nio.IOException
SecurityException

Kieora Commons IO 6.0.0.CR5

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