Kie Commons I/O 6.0.0.CR5

org.kie.commons.io
Interface IOService

All Known Subinterfaces:
IOClusteredService
All Known Implementing Classes:
AbstractIOService, IOServiceClusterImpl, IOServiceDotFileImpl, IOServiceNio2WrapperImpl

public interface IOService


Nested Class Summary
static class IOService.NewFileSystemListener
           
 
Field Summary
static Set<OpenOption> EMPTY_OPTIONS
           
 
Method Summary
 org.kie.commons.java.nio.file.attribute.FileAttribute<?>[] convert(Map<String,?> attrs)
           
 long copy(InputStream in, Path target, CopyOption... options)
           
 long copy(Path source, OutputStream out)
           
 Path copy(Path source, Path target, CopyOption... options)
           
 Path createDirectories(Path dir, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs)
           
 Path createDirectories(Path dir, Map<String,?> attrs)
           
 Path createDirectory(Path dir, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs)
           
 Path createDirectory(Path dir, Map<String,?> attrs)
           
 Path createFile(Path path, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs)
           
 Path createTempDirectory(Path dir, String prefix, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs)
           
 Path createTempDirectory(String prefix, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs)
           
 Path createTempFile(Path dir, String prefix, String suffix, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs)
           
 Path createTempFile(String prefix, String suffix, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs)
           
 void delete(Path path, DeleteOption... options)
           
 boolean deleteIfExists(Path path, DeleteOption... options)
           
 void dispose()
           
 void endBatch(Option... options)
           
 boolean exists(Path path)
           
 Path get(String first, String... more)
           
 Path get(URI uri)
           
 Object getAttribute(Path path, String attribute)
           
<V extends org.kie.commons.java.nio.file.attribute.FileAttributeView>
V
getFileAttributeView(Path path, Class<V> type)
           
 FileSystem getFileSystem(URI uri)
           
 Iterable<FileSystem> getFileSystems()
           
 Iterable<FileSystem> getFileSystems(FileSystemType type)
           
 org.kie.commons.java.nio.file.attribute.FileTime getLastModifiedTime(Path path)
           
 boolean isSameFile(Path path, Path path2)
           
 Path move(Path source, Path target, CopyOption... options)
           
 BufferedReader newBufferedReader(Path path, Charset cs)
           
 BufferedWriter newBufferedWriter(Path path, Charset cs, OpenOption... options)
           
 org.kie.commons.java.nio.channels.SeekableByteChannel newByteChannel(Path path, OpenOption... options)
           
 org.kie.commons.java.nio.channels.SeekableByteChannel newByteChannel(Path path, Set<? extends OpenOption> options, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs)
           
 DirectoryStream<Path> newDirectoryStream(Path dir)
           
 DirectoryStream<Path> newDirectoryStream(Path dir, DirectoryStream.Filter<Path> filter)
           
 FileSystem newFileSystem(URI uri, Map<String,?> env)
           
 FileSystem newFileSystem(URI uri, Map<String,?> env, FileSystemType type)
           
 InputStream newInputStream(Path path, OpenOption... options)
           
 OutputStream newOutputStream(Path path, OpenOption... options)
           
 boolean notExists(Path path)
           
 void onNewFileSystem(IOService.NewFileSystemListener listener)
           
 byte[] readAllBytes(Path path)
           
 List<String> readAllLines(Path path)
           
 List<String> readAllLines(Path path, Charset cs)
           
 String readAllString(Path path)
           
 String readAllString(Path path, Charset cs)
           
 Map<String,Object> readAttributes(Path path)
           
 Map<String,Object> readAttributes(Path path, String attributes)
           
 Path setAttribute(Path path, String attribute, Object value)
           
 Path setAttributes(Path path, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs)
           
 Path setAttributes(Path path, Map<String,Object> attrs)
           
 long size(Path path)
           
 void startBatch(Option... options)
           
 Path write(Path path, byte[] bytes, Map<String,?> attrs, OpenOption... options)
           
 Path write(Path path, byte[] bytes, OpenOption... options)
           
 Path write(Path path, byte[] bytes, Set<? extends OpenOption> options, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs)
           
 Path write(Path path, Iterable<? extends CharSequence> lines, Charset cs, OpenOption... options)
           
 Path write(Path path, String content, Charset cs, Map<String,?> attrs, OpenOption... options)
           
 Path write(Path path, String content, Charset cs, OpenOption... options)
           
 Path write(Path path, String content, Charset cs, Set<? extends OpenOption> options, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs)
           
 Path write(Path path, String content, Map<String,?> attrs, OpenOption... options)
           
 Path write(Path path, String content, OpenOption... options)
           
 Path write(Path path, String content, Set<? extends OpenOption> options, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs)
           
 

Field Detail

EMPTY_OPTIONS

static final Set<OpenOption> EMPTY_OPTIONS
Method Detail

dispose

void dispose()

startBatch

void startBatch(Option... options)

endBatch

void endBatch(Option... options)

convert

org.kie.commons.java.nio.file.attribute.FileAttribute<?>[] convert(Map<String,?> attrs)

get

Path get(String first,
         String... more)
         throws IllegalArgumentException
Throws:
IllegalArgumentException

get

Path get(URI uri)
         throws IllegalArgumentException,
                FileSystemNotFoundException,
                SecurityException
Throws:
IllegalArgumentException
FileSystemNotFoundException
SecurityException

getFileSystems

Iterable<FileSystem> getFileSystems()

getFileSystems

Iterable<FileSystem> getFileSystems(FileSystemType type)

getFileSystem

FileSystem getFileSystem(URI uri)
                         throws IllegalArgumentException,
                                FileSystemNotFoundException,
                                ProviderNotFoundException,
                                SecurityException
Throws:
IllegalArgumentException
FileSystemNotFoundException
ProviderNotFoundException
SecurityException

newFileSystem

FileSystem newFileSystem(URI uri,
                         Map<String,?> env)
                         throws IllegalArgumentException,
                                FileSystemAlreadyExistsException,
                                ProviderNotFoundException,
                                org.kie.commons.java.nio.IOException,
                                SecurityException
Throws:
IllegalArgumentException
FileSystemAlreadyExistsException
ProviderNotFoundException
org.kie.commons.java.nio.IOException
SecurityException

newFileSystem

FileSystem newFileSystem(URI uri,
                         Map<String,?> env,
                         FileSystemType type)
                         throws IllegalArgumentException,
                                FileSystemAlreadyExistsException,
                                ProviderNotFoundException,
                                org.kie.commons.java.nio.IOException,
                                SecurityException
Throws:
IllegalArgumentException
FileSystemAlreadyExistsException
ProviderNotFoundException
org.kie.commons.java.nio.IOException
SecurityException

onNewFileSystem

void onNewFileSystem(IOService.NewFileSystemListener listener)

newInputStream

InputStream newInputStream(Path path,
                           OpenOption... options)
                           throws IllegalArgumentException,
                                  NoSuchFileException,
                                  UnsupportedOperationException,
                                  org.kie.commons.java.nio.IOException,
                                  SecurityException
Throws:
IllegalArgumentException
NoSuchFileException
UnsupportedOperationException
org.kie.commons.java.nio.IOException
SecurityException

newOutputStream

OutputStream newOutputStream(Path path,
                             OpenOption... options)
                             throws IllegalArgumentException,
                                    UnsupportedOperationException,
                                    org.kie.commons.java.nio.IOException,
                                    SecurityException
Throws:
IllegalArgumentException
UnsupportedOperationException
org.kie.commons.java.nio.IOException
SecurityException

newByteChannel

org.kie.commons.java.nio.channels.SeekableByteChannel newByteChannel(Path path,
                                                                     OpenOption... options)
                                                                     throws IllegalArgumentException,
                                                                            UnsupportedOperationException,
                                                                            FileAlreadyExistsException,
                                                                            org.kie.commons.java.nio.IOException,
                                                                            SecurityException
Throws:
IllegalArgumentException
UnsupportedOperationException
FileAlreadyExistsException
org.kie.commons.java.nio.IOException
SecurityException

newByteChannel

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
Throws:
IllegalArgumentException
UnsupportedOperationException
FileAlreadyExistsException
org.kie.commons.java.nio.IOException
SecurityException

newDirectoryStream

DirectoryStream<Path> newDirectoryStream(Path dir)
                                         throws IllegalArgumentException,
                                                NotDirectoryException,
                                                org.kie.commons.java.nio.IOException,
                                                SecurityException
Throws:
IllegalArgumentException
NotDirectoryException
org.kie.commons.java.nio.IOException
SecurityException

newDirectoryStream

DirectoryStream<Path> newDirectoryStream(Path dir,
                                         DirectoryStream.Filter<Path> filter)
                                         throws IllegalArgumentException,
                                                NotDirectoryException,
                                                org.kie.commons.java.nio.IOException,
                                                SecurityException
Throws:
IllegalArgumentException
NotDirectoryException
org.kie.commons.java.nio.IOException
SecurityException

createFile

Path createFile(Path path,
                org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs)
                throws IllegalArgumentException,
                       UnsupportedOperationException,
                       FileAlreadyExistsException,
                       org.kie.commons.java.nio.IOException,
                       SecurityException
Throws:
IllegalArgumentException
UnsupportedOperationException
FileAlreadyExistsException
org.kie.commons.java.nio.IOException
SecurityException

createDirectory

Path createDirectory(Path dir,
                     org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs)
                     throws IllegalArgumentException,
                            UnsupportedOperationException,
                            FileAlreadyExistsException,
                            org.kie.commons.java.nio.IOException,
                            SecurityException
Throws:
IllegalArgumentException
UnsupportedOperationException
FileAlreadyExistsException
org.kie.commons.java.nio.IOException
SecurityException

createDirectories

Path createDirectories(Path dir,
                       org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs)
                       throws UnsupportedOperationException,
                              FileAlreadyExistsException,
                              org.kie.commons.java.nio.IOException,
                              SecurityException
Throws:
UnsupportedOperationException
FileAlreadyExistsException
org.kie.commons.java.nio.IOException
SecurityException

createDirectory

Path createDirectory(Path dir,
                     Map<String,?> attrs)
                     throws IllegalArgumentException,
                            UnsupportedOperationException,
                            FileAlreadyExistsException,
                            org.kie.commons.java.nio.IOException,
                            SecurityException
Throws:
IllegalArgumentException
UnsupportedOperationException
FileAlreadyExistsException
org.kie.commons.java.nio.IOException
SecurityException

createDirectories

Path createDirectories(Path dir,
                       Map<String,?> attrs)
                       throws UnsupportedOperationException,
                              FileAlreadyExistsException,
                              org.kie.commons.java.nio.IOException,
                              SecurityException
Throws:
UnsupportedOperationException
FileAlreadyExistsException
org.kie.commons.java.nio.IOException
SecurityException

delete

void delete(Path path,
            DeleteOption... options)
            throws IllegalArgumentException,
                   NoSuchFileException,
                   DirectoryNotEmptyException,
                   org.kie.commons.java.nio.IOException,
                   SecurityException
Throws:
IllegalArgumentException
NoSuchFileException
DirectoryNotEmptyException
org.kie.commons.java.nio.IOException
SecurityException

deleteIfExists

boolean deleteIfExists(Path path,
                       DeleteOption... options)
                       throws IllegalArgumentException,
                              DirectoryNotEmptyException,
                              org.kie.commons.java.nio.IOException,
                              SecurityException
Throws:
IllegalArgumentException
DirectoryNotEmptyException
org.kie.commons.java.nio.IOException
SecurityException

createTempFile

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
Throws:
IllegalArgumentException
UnsupportedOperationException
org.kie.commons.java.nio.IOException
SecurityException

createTempFile

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
Throws:
IllegalArgumentException
UnsupportedOperationException
org.kie.commons.java.nio.IOException
SecurityException

createTempDirectory

Path createTempDirectory(String prefix,
                         org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs)
                         throws IllegalArgumentException,
                                UnsupportedOperationException,
                                org.kie.commons.java.nio.IOException,
                                SecurityException
Throws:
IllegalArgumentException
UnsupportedOperationException
org.kie.commons.java.nio.IOException
SecurityException

createTempDirectory

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
Throws:
IllegalArgumentException
UnsupportedOperationException
org.kie.commons.java.nio.IOException
SecurityException

copy

Path copy(Path source,
          Path target,
          CopyOption... options)
          throws UnsupportedOperationException,
                 FileAlreadyExistsException,
                 DirectoryNotEmptyException,
                 org.kie.commons.java.nio.IOException,
                 SecurityException
Throws:
UnsupportedOperationException
FileAlreadyExistsException
DirectoryNotEmptyException
org.kie.commons.java.nio.IOException
SecurityException

move

Path move(Path source,
          Path target,
          CopyOption... options)
          throws UnsupportedOperationException,
                 FileAlreadyExistsException,
                 DirectoryNotEmptyException,
                 AtomicMoveNotSupportedException,
                 org.kie.commons.java.nio.IOException,
                 SecurityException
Throws:
UnsupportedOperationException
FileAlreadyExistsException
DirectoryNotEmptyException
AtomicMoveNotSupportedException
org.kie.commons.java.nio.IOException
SecurityException

getFileAttributeView

<V extends org.kie.commons.java.nio.file.attribute.FileAttributeView> V getFileAttributeView(Path path,
                                                                                             Class<V> type)
                                                                                         throws IllegalArgumentException
Throws:
IllegalArgumentException

readAttributes

Map<String,Object> readAttributes(Path path)
                                  throws UnsupportedOperationException,
                                         NoSuchFileException,
                                         IllegalArgumentException,
                                         org.kie.commons.java.nio.IOException,
                                         SecurityException
Throws:
UnsupportedOperationException
NoSuchFileException
IllegalArgumentException
org.kie.commons.java.nio.IOException
SecurityException

readAttributes

Map<String,Object> readAttributes(Path path,
                                  String attributes)
                                  throws UnsupportedOperationException,
                                         NoSuchFileException,
                                         IllegalArgumentException,
                                         org.kie.commons.java.nio.IOException,
                                         SecurityException
Throws:
UnsupportedOperationException
NoSuchFileException
IllegalArgumentException
org.kie.commons.java.nio.IOException
SecurityException

setAttributes

Path setAttributes(Path path,
                   org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs)
                   throws UnsupportedOperationException,
                          IllegalArgumentException,
                          ClassCastException,
                          org.kie.commons.java.nio.IOException,
                          SecurityException
Throws:
UnsupportedOperationException
IllegalArgumentException
ClassCastException
org.kie.commons.java.nio.IOException
SecurityException

setAttributes

Path setAttributes(Path path,
                   Map<String,Object> attrs)
                   throws UnsupportedOperationException,
                          IllegalArgumentException,
                          ClassCastException,
                          org.kie.commons.java.nio.IOException,
                          SecurityException
Throws:
UnsupportedOperationException
IllegalArgumentException
ClassCastException
org.kie.commons.java.nio.IOException
SecurityException

setAttribute

Path setAttribute(Path path,
                  String attribute,
                  Object value)
                  throws UnsupportedOperationException,
                         IllegalArgumentException,
                         ClassCastException,
                         org.kie.commons.java.nio.IOException,
                         SecurityException
Throws:
UnsupportedOperationException
IllegalArgumentException
ClassCastException
org.kie.commons.java.nio.IOException
SecurityException

getAttribute

Object getAttribute(Path path,
                    String attribute)
                    throws UnsupportedOperationException,
                           IllegalArgumentException,
                           org.kie.commons.java.nio.IOException,
                           SecurityException
Throws:
UnsupportedOperationException
IllegalArgumentException
org.kie.commons.java.nio.IOException
SecurityException

getLastModifiedTime

org.kie.commons.java.nio.file.attribute.FileTime getLastModifiedTime(Path path)
                                                                     throws IllegalArgumentException,
                                                                            org.kie.commons.java.nio.IOException,
                                                                            SecurityException
Throws:
IllegalArgumentException
org.kie.commons.java.nio.IOException
SecurityException

size

long size(Path path)
          throws IllegalArgumentException,
                 org.kie.commons.java.nio.IOException,
                 SecurityException
Throws:
IllegalArgumentException
org.kie.commons.java.nio.IOException
SecurityException

exists

boolean exists(Path path)
               throws IllegalArgumentException,
                      SecurityException
Throws:
IllegalArgumentException
SecurityException

notExists

boolean notExists(Path path)
                  throws IllegalArgumentException,
                         SecurityException
Throws:
IllegalArgumentException
SecurityException

isSameFile

boolean isSameFile(Path path,
                   Path path2)
                   throws IllegalArgumentException,
                          org.kie.commons.java.nio.IOException,
                          SecurityException
Throws:
IllegalArgumentException
org.kie.commons.java.nio.IOException
SecurityException

newBufferedReader

BufferedReader newBufferedReader(Path path,
                                 Charset cs)
                                 throws IllegalArgumentException,
                                        NoSuchFileException,
                                        org.kie.commons.java.nio.IOException,
                                        SecurityException
Throws:
IllegalArgumentException
NoSuchFileException
org.kie.commons.java.nio.IOException
SecurityException

newBufferedWriter

BufferedWriter newBufferedWriter(Path path,
                                 Charset cs,
                                 OpenOption... options)
                                 throws IllegalArgumentException,
                                        org.kie.commons.java.nio.IOException,
                                        UnsupportedOperationException,
                                        SecurityException
Throws:
IllegalArgumentException
org.kie.commons.java.nio.IOException
UnsupportedOperationException
SecurityException

copy

long copy(InputStream in,
          Path target,
          CopyOption... options)
          throws org.kie.commons.java.nio.IOException,
                 FileAlreadyExistsException,
                 DirectoryNotEmptyException,
                 UnsupportedOperationException,
                 SecurityException
Throws:
org.kie.commons.java.nio.IOException
FileAlreadyExistsException
DirectoryNotEmptyException
UnsupportedOperationException
SecurityException

copy

long copy(Path source,
          OutputStream out)
          throws org.kie.commons.java.nio.IOException,
                 SecurityException
Throws:
org.kie.commons.java.nio.IOException
SecurityException

readAllBytes

byte[] readAllBytes(Path path)
                    throws org.kie.commons.java.nio.IOException,
                           OutOfMemoryError,
                           SecurityException
Throws:
org.kie.commons.java.nio.IOException
OutOfMemoryError
SecurityException

readAllLines

List<String> readAllLines(Path path)
                          throws IllegalArgumentException,
                                 NoSuchFileException,
                                 org.kie.commons.java.nio.IOException,
                                 SecurityException
Throws:
IllegalArgumentException
NoSuchFileException
org.kie.commons.java.nio.IOException
SecurityException

readAllLines

List<String> readAllLines(Path path,
                          Charset cs)
                          throws IllegalArgumentException,
                                 NoSuchFileException,
                                 org.kie.commons.java.nio.IOException,
                                 SecurityException
Throws:
IllegalArgumentException
NoSuchFileException
org.kie.commons.java.nio.IOException
SecurityException

readAllString

String readAllString(Path path,
                     Charset cs)
                     throws IllegalArgumentException,
                            NoSuchFileException,
                            org.kie.commons.java.nio.IOException
Throws:
IllegalArgumentException
NoSuchFileException
org.kie.commons.java.nio.IOException

readAllString

String readAllString(Path path)
                     throws IllegalArgumentException,
                            NoSuchFileException,
                            org.kie.commons.java.nio.IOException
Throws:
IllegalArgumentException
NoSuchFileException
org.kie.commons.java.nio.IOException

write

Path write(Path path,
           byte[] bytes,
           OpenOption... options)
           throws org.kie.commons.java.nio.IOException,
                  UnsupportedOperationException,
                  SecurityException
Throws:
org.kie.commons.java.nio.IOException
UnsupportedOperationException
SecurityException

write

Path write(Path path,
           byte[] bytes,
           Map<String,?> attrs,
           OpenOption... options)
           throws org.kie.commons.java.nio.IOException,
                  UnsupportedOperationException,
                  SecurityException
Throws:
org.kie.commons.java.nio.IOException
UnsupportedOperationException
SecurityException

write

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
Throws:
IllegalArgumentException
org.kie.commons.java.nio.IOException
UnsupportedOperationException

write

Path write(Path path,
           Iterable<? extends CharSequence> lines,
           Charset cs,
           OpenOption... options)
           throws IllegalArgumentException,
                  org.kie.commons.java.nio.IOException,
                  UnsupportedOperationException,
                  SecurityException
Throws:
IllegalArgumentException
org.kie.commons.java.nio.IOException
UnsupportedOperationException
SecurityException

write

Path write(Path path,
           String content,
           OpenOption... options)
           throws IllegalArgumentException,
                  org.kie.commons.java.nio.IOException,
                  UnsupportedOperationException
Throws:
IllegalArgumentException
org.kie.commons.java.nio.IOException
UnsupportedOperationException

write

Path write(Path path,
           String content,
           Charset cs,
           OpenOption... options)
           throws IllegalArgumentException,
                  org.kie.commons.java.nio.IOException,
                  UnsupportedOperationException
Throws:
IllegalArgumentException
org.kie.commons.java.nio.IOException
UnsupportedOperationException

write

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
Throws:
IllegalArgumentException
org.kie.commons.java.nio.IOException
UnsupportedOperationException

write

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
Throws:
IllegalArgumentException
org.kie.commons.java.nio.IOException
UnsupportedOperationException

write

Path write(Path path,
           String content,
           Map<String,?> attrs,
           OpenOption... options)
           throws IllegalArgumentException,
                  org.kie.commons.java.nio.IOException,
                  UnsupportedOperationException
Throws:
IllegalArgumentException
org.kie.commons.java.nio.IOException
UnsupportedOperationException

write

Path write(Path path,
           String content,
           Charset cs,
           Map<String,?> attrs,
           OpenOption... options)
           throws IllegalArgumentException,
                  org.kie.commons.java.nio.IOException,
                  UnsupportedOperationException
Throws:
IllegalArgumentException
org.kie.commons.java.nio.IOException
UnsupportedOperationException

Kie Commons I/O 6.0.0.CR5

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