org.kie.kieora.io
Class IOServiceIndexedImpl
java.lang.Object
org.kie.commons.io.impl.AbstractIOService
org.kie.commons.io.impl.IOServiceDotFileImpl
org.kie.kieora.io.IOServiceIndexedImpl
- All Implemented Interfaces:
- IOService
public class IOServiceIndexedImpl
- extends IOServiceDotFileImpl
|
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 |
createDirectories(org.kie.commons.java.nio.file.Path dir,
org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs)
|
void |
delete(org.kie.commons.java.nio.file.Path path)
|
boolean |
deleteIfExists(org.kie.commons.java.nio.file.Path path)
|
protected org.kie.commons.java.nio.file.Path |
internalCreateDirectory(org.kie.commons.java.nio.file.Path dir,
boolean skipAlreadyExistsException,
org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs)
|
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)
|
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)
|
| Methods inherited from class org.kie.commons.io.impl.IOServiceDotFileImpl |
buildOptions, buildOptions, createDirectory, forceBuildOptions, getAttribute, getFileAttributeView, isFileScheme, loadDotFile, newView, readAttributes, setAttribute, setAttributes, split |
| Methods inherited from class org.kie.commons.io.impl.AbstractIOService |
convert, copy, copy, createDirectories, createDirectory, createFile, createTempDirectory, createTempDirectory, createTempFile, createTempFile, exists, get, get, getFileSystem, getFileSystems, getFileSystems, getLastModifiedTime, isSameFile, newBufferedReader, newBufferedWriter, newByteChannel, newDirectoryStream, newDirectoryStream, newFileSystem, newFileSystem, newInputStream, newOutputStream, notExists, readAllBytes, readAllLines, readAllLines, readAllString, readAllString, readAttributes, setAttributes, size, 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, createFile, createTempDirectory, createTempDirectory, createTempFile, createTempFile, exists, get, get, getFileSystem, getFileSystems, getFileSystems, getLastModifiedTime, isSameFile, newBufferedReader, newBufferedWriter, newByteChannel, newDirectoryStream, newDirectoryStream, newFileSystem, newFileSystem, newInputStream, newOutputStream, notExists, readAllBytes, readAllLines, readAllLines, readAllString, readAllString, readAttributes, setAttributes, size, write, write, write, write, write, write, write, write, write, write |
IOServiceIndexedImpl
public IOServiceIndexedImpl(MetaIndexEngine indexEngine)
delete
public void delete(org.kie.commons.java.nio.file.Path path)
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 IOService- Overrides:
delete in class 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)
throws IllegalArgumentException,
org.kie.commons.java.nio.file.DirectoryNotEmptyException,
org.kie.commons.java.nio.IOException,
SecurityException
- Specified by:
deleteIfExists in interface IOService- Overrides:
deleteIfExists in class 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 IOService- Overrides:
newByteChannel in class IOServiceDotFileImpl
- Throws:
IllegalArgumentException
UnsupportedOperationException
org.kie.commons.java.nio.file.FileAlreadyExistsException
org.kie.commons.java.nio.IOException
SecurityException
createDirectories
public org.kie.commons.java.nio.file.Path createDirectories(org.kie.commons.java.nio.file.Path dir,
org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs)
throws UnsupportedOperationException,
org.kie.commons.java.nio.file.FileAlreadyExistsException,
org.kie.commons.java.nio.IOException,
SecurityException
- Specified by:
createDirectories in interface IOService- Overrides:
createDirectories in class IOServiceDotFileImpl
- Throws:
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 IOService- Overrides:
copy in class 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 IOService- Overrides:
move in class 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
internalCreateDirectory
protected org.kie.commons.java.nio.file.Path internalCreateDirectory(org.kie.commons.java.nio.file.Path dir,
boolean skipAlreadyExistsException,
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
- Overrides:
internalCreateDirectory in class IOServiceDotFileImpl
- Throws:
IllegalArgumentException
UnsupportedOperationException
org.kie.commons.java.nio.file.FileAlreadyExistsException
org.kie.commons.java.nio.IOException
SecurityException
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.