org.kie.commons.io
public interface IOService
Modifier and Type | Interface and Description |
---|---|
static class |
IOService.NewFileSystemListener |
Modifier and Type | Field and Description |
---|---|
static Set<OpenOption> |
EMPTY_OPTIONS |
static final Set<OpenOption> EMPTY_OPTIONS
void dispose()
void startBatch()
void endBatch()
org.kie.commons.java.nio.file.attribute.FileAttribute<?>[] convert(Map<String,?> attrs)
Path get(String first, String... more) throws IllegalArgumentException
IllegalArgumentException
Path get(URI uri) throws IllegalArgumentException, FileSystemNotFoundException, SecurityException
Iterable<FileSystem> getFileSystems()
Iterable<FileSystem> getFileSystems(FileSystemType type)
FileSystem getFileSystem(URI uri) throws IllegalArgumentException, FileSystemNotFoundException, ProviderNotFoundException, SecurityException
FileSystem newFileSystem(URI uri, Map<String,?> env) throws IllegalArgumentException, FileSystemAlreadyExistsException, ProviderNotFoundException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
FileSystemAlreadyExistsException
ProviderNotFoundException
org.kie.commons.java.nio.IOException
SecurityException
FileSystem newFileSystem(URI uri, Map<String,?> env, FileSystemType type) throws IllegalArgumentException, FileSystemAlreadyExistsException, ProviderNotFoundException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
FileSystemAlreadyExistsException
ProviderNotFoundException
org.kie.commons.java.nio.IOException
SecurityException
void onNewFileSystem(IOService.NewFileSystemListener listener)
InputStream newInputStream(Path path, OpenOption... options) throws IllegalArgumentException, NoSuchFileException, UnsupportedOperationException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
NoSuchFileException
UnsupportedOperationException
org.kie.commons.java.nio.IOException
SecurityException
OutputStream newOutputStream(Path path, OpenOption... options) throws IllegalArgumentException, UnsupportedOperationException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
UnsupportedOperationException
org.kie.commons.java.nio.IOException
SecurityException
org.kie.commons.java.nio.channels.SeekableByteChannel newByteChannel(Path path, OpenOption... options) throws IllegalArgumentException, UnsupportedOperationException, FileAlreadyExistsException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
UnsupportedOperationException
FileAlreadyExistsException
org.kie.commons.java.nio.IOException
SecurityException
org.kie.commons.java.nio.channels.SeekableByteChannel newByteChannel(Path path, Set<? extends OpenOption> options, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) throws IllegalArgumentException, UnsupportedOperationException, FileAlreadyExistsException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
UnsupportedOperationException
FileAlreadyExistsException
org.kie.commons.java.nio.IOException
SecurityException
DirectoryStream<Path> newDirectoryStream(Path dir) throws IllegalArgumentException, NotDirectoryException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
NotDirectoryException
org.kie.commons.java.nio.IOException
SecurityException
DirectoryStream<Path> newDirectoryStream(Path dir, DirectoryStream.Filter<Path> filter) throws IllegalArgumentException, NotDirectoryException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
NotDirectoryException
org.kie.commons.java.nio.IOException
SecurityException
Path createFile(Path path, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) throws IllegalArgumentException, UnsupportedOperationException, FileAlreadyExistsException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
UnsupportedOperationException
FileAlreadyExistsException
org.kie.commons.java.nio.IOException
SecurityException
Path createDirectory(Path dir, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) throws IllegalArgumentException, UnsupportedOperationException, FileAlreadyExistsException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
UnsupportedOperationException
FileAlreadyExistsException
org.kie.commons.java.nio.IOException
SecurityException
Path createDirectories(Path dir, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) throws UnsupportedOperationException, FileAlreadyExistsException, org.kie.commons.java.nio.IOException, SecurityException
UnsupportedOperationException
FileAlreadyExistsException
org.kie.commons.java.nio.IOException
SecurityException
Path createDirectory(Path dir, Map<String,?> attrs) throws IllegalArgumentException, UnsupportedOperationException, FileAlreadyExistsException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
UnsupportedOperationException
FileAlreadyExistsException
org.kie.commons.java.nio.IOException
SecurityException
Path createDirectories(Path dir, Map<String,?> attrs) throws UnsupportedOperationException, FileAlreadyExistsException, org.kie.commons.java.nio.IOException, SecurityException
UnsupportedOperationException
FileAlreadyExistsException
org.kie.commons.java.nio.IOException
SecurityException
void delete(Path path) throws IllegalArgumentException, NoSuchFileException, DirectoryNotEmptyException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
NoSuchFileException
DirectoryNotEmptyException
org.kie.commons.java.nio.IOException
SecurityException
boolean deleteIfExists(Path path) throws IllegalArgumentException, DirectoryNotEmptyException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
DirectoryNotEmptyException
org.kie.commons.java.nio.IOException
SecurityException
Path createTempFile(String prefix, String suffix, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) throws IllegalArgumentException, UnsupportedOperationException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
UnsupportedOperationException
org.kie.commons.java.nio.IOException
SecurityException
Path createTempFile(Path dir, String prefix, String suffix, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) throws IllegalArgumentException, UnsupportedOperationException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
UnsupportedOperationException
org.kie.commons.java.nio.IOException
SecurityException
Path createTempDirectory(String prefix, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) throws IllegalArgumentException, UnsupportedOperationException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
UnsupportedOperationException
org.kie.commons.java.nio.IOException
SecurityException
Path createTempDirectory(Path dir, String prefix, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) throws IllegalArgumentException, UnsupportedOperationException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
UnsupportedOperationException
org.kie.commons.java.nio.IOException
SecurityException
Path copy(Path source, Path target, CopyOption... options) throws UnsupportedOperationException, FileAlreadyExistsException, DirectoryNotEmptyException, org.kie.commons.java.nio.IOException, SecurityException
UnsupportedOperationException
FileAlreadyExistsException
DirectoryNotEmptyException
org.kie.commons.java.nio.IOException
SecurityException
Path move(Path source, Path target, CopyOption... options) throws UnsupportedOperationException, FileAlreadyExistsException, DirectoryNotEmptyException, AtomicMoveNotSupportedException, org.kie.commons.java.nio.IOException, SecurityException
UnsupportedOperationException
FileAlreadyExistsException
DirectoryNotEmptyException
AtomicMoveNotSupportedException
org.kie.commons.java.nio.IOException
SecurityException
<V extends org.kie.commons.java.nio.file.attribute.FileAttributeView> V getFileAttributeView(Path path, Class<V> type) throws IllegalArgumentException
IllegalArgumentException
Map<String,Object> readAttributes(Path path) throws UnsupportedOperationException, NoSuchFileException, IllegalArgumentException, org.kie.commons.java.nio.IOException, SecurityException
UnsupportedOperationException
NoSuchFileException
IllegalArgumentException
org.kie.commons.java.nio.IOException
SecurityException
Map<String,Object> readAttributes(Path path, String attributes) throws UnsupportedOperationException, NoSuchFileException, IllegalArgumentException, org.kie.commons.java.nio.IOException, SecurityException
UnsupportedOperationException
NoSuchFileException
IllegalArgumentException
org.kie.commons.java.nio.IOException
SecurityException
Path setAttributes(Path path, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) throws UnsupportedOperationException, IllegalArgumentException, ClassCastException, org.kie.commons.java.nio.IOException, SecurityException
UnsupportedOperationException
IllegalArgumentException
ClassCastException
org.kie.commons.java.nio.IOException
SecurityException
Path setAttributes(Path path, Map<String,Object> attrs) throws UnsupportedOperationException, IllegalArgumentException, ClassCastException, org.kie.commons.java.nio.IOException, SecurityException
UnsupportedOperationException
IllegalArgumentException
ClassCastException
org.kie.commons.java.nio.IOException
SecurityException
Path setAttribute(Path path, String attribute, Object value) throws UnsupportedOperationException, IllegalArgumentException, ClassCastException, org.kie.commons.java.nio.IOException, SecurityException
UnsupportedOperationException
IllegalArgumentException
ClassCastException
org.kie.commons.java.nio.IOException
SecurityException
Object getAttribute(Path path, String attribute) throws UnsupportedOperationException, IllegalArgumentException, org.kie.commons.java.nio.IOException, SecurityException
UnsupportedOperationException
IllegalArgumentException
org.kie.commons.java.nio.IOException
SecurityException
org.kie.commons.java.nio.file.attribute.FileTime getLastModifiedTime(Path path) throws IllegalArgumentException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
org.kie.commons.java.nio.IOException
SecurityException
long size(Path path) throws IllegalArgumentException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
org.kie.commons.java.nio.IOException
SecurityException
boolean exists(Path path) throws IllegalArgumentException, SecurityException
boolean notExists(Path path) throws IllegalArgumentException, SecurityException
boolean isSameFile(Path path, Path path2) throws IllegalArgumentException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
org.kie.commons.java.nio.IOException
SecurityException
BufferedReader newBufferedReader(Path path, Charset cs) throws IllegalArgumentException, NoSuchFileException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
NoSuchFileException
org.kie.commons.java.nio.IOException
SecurityException
BufferedWriter newBufferedWriter(Path path, Charset cs, OpenOption... options) throws IllegalArgumentException, org.kie.commons.java.nio.IOException, UnsupportedOperationException, SecurityException
IllegalArgumentException
org.kie.commons.java.nio.IOException
UnsupportedOperationException
SecurityException
long copy(InputStream in, Path target, CopyOption... options) throws org.kie.commons.java.nio.IOException, FileAlreadyExistsException, DirectoryNotEmptyException, UnsupportedOperationException, SecurityException
org.kie.commons.java.nio.IOException
FileAlreadyExistsException
DirectoryNotEmptyException
UnsupportedOperationException
SecurityException
long copy(Path source, OutputStream out) throws org.kie.commons.java.nio.IOException, SecurityException
org.kie.commons.java.nio.IOException
SecurityException
byte[] readAllBytes(Path path) throws org.kie.commons.java.nio.IOException, OutOfMemoryError, SecurityException
org.kie.commons.java.nio.IOException
OutOfMemoryError
SecurityException
List<String> readAllLines(Path path) throws IllegalArgumentException, NoSuchFileException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
NoSuchFileException
org.kie.commons.java.nio.IOException
SecurityException
List<String> readAllLines(Path path, Charset cs) throws IllegalArgumentException, NoSuchFileException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
NoSuchFileException
org.kie.commons.java.nio.IOException
SecurityException
String readAllString(Path path, Charset cs) throws IllegalArgumentException, NoSuchFileException, org.kie.commons.java.nio.IOException
IllegalArgumentException
NoSuchFileException
org.kie.commons.java.nio.IOException
String readAllString(Path path) throws IllegalArgumentException, NoSuchFileException, org.kie.commons.java.nio.IOException
IllegalArgumentException
NoSuchFileException
org.kie.commons.java.nio.IOException
Path write(Path path, byte[] bytes, OpenOption... options) throws org.kie.commons.java.nio.IOException, UnsupportedOperationException, SecurityException
org.kie.commons.java.nio.IOException
UnsupportedOperationException
SecurityException
Path write(Path path, byte[] bytes, Map<String,?> attrs, OpenOption... options) throws org.kie.commons.java.nio.IOException, UnsupportedOperationException, SecurityException
org.kie.commons.java.nio.IOException
UnsupportedOperationException
SecurityException
Path write(Path path, byte[] bytes, Set<? extends OpenOption> options, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) throws IllegalArgumentException, org.kie.commons.java.nio.IOException, UnsupportedOperationException
IllegalArgumentException
org.kie.commons.java.nio.IOException
UnsupportedOperationException
Path write(Path path, Iterable<? extends CharSequence> lines, Charset cs, OpenOption... options) throws IllegalArgumentException, org.kie.commons.java.nio.IOException, UnsupportedOperationException, SecurityException
IllegalArgumentException
org.kie.commons.java.nio.IOException
UnsupportedOperationException
SecurityException
Path write(Path path, String content, OpenOption... options) throws IllegalArgumentException, org.kie.commons.java.nio.IOException, UnsupportedOperationException
IllegalArgumentException
org.kie.commons.java.nio.IOException
UnsupportedOperationException
Path write(Path path, String content, Charset cs, OpenOption... options) throws IllegalArgumentException, org.kie.commons.java.nio.IOException, UnsupportedOperationException
IllegalArgumentException
org.kie.commons.java.nio.IOException
UnsupportedOperationException
Path write(Path path, String content, Set<? extends OpenOption> options, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) throws IllegalArgumentException, org.kie.commons.java.nio.IOException, UnsupportedOperationException
IllegalArgumentException
org.kie.commons.java.nio.IOException
UnsupportedOperationException
Path write(Path path, String content, Charset cs, Set<? extends OpenOption> options, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) throws IllegalArgumentException, org.kie.commons.java.nio.IOException, UnsupportedOperationException
IllegalArgumentException
org.kie.commons.java.nio.IOException
UnsupportedOperationException
Path write(Path path, String content, Map<String,?> attrs, OpenOption... options) throws IllegalArgumentException, org.kie.commons.java.nio.IOException, UnsupportedOperationException
IllegalArgumentException
org.kie.commons.java.nio.IOException
UnsupportedOperationException
Path write(Path path, String content, Charset cs, Map<String,?> attrs, OpenOption... options) throws IllegalArgumentException, org.kie.commons.java.nio.IOException, UnsupportedOperationException
IllegalArgumentException
org.kie.commons.java.nio.IOException
UnsupportedOperationException
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.