public class IOServiceNio2WrapperImpl extends AbstractIOService implements IOService
IOService.NewFileSystemListenerDEFAULT_SERVICE_NAME, fileSystems, ioWatchService, isDisposed, newFileSystemListener, UTF_8EMPTY_OPTIONS| Constructor and Description |
|---|
IOServiceNio2WrapperImpl() |
IOServiceNio2WrapperImpl(IOWatchService watchService) |
IOServiceNio2WrapperImpl(String id) |
IOServiceNio2WrapperImpl(String id,
IOWatchService watchService) |
convert, copy, copy, createDirectories, createDirectory, createFile, createTempDirectory, createTempDirectory, createTempFile, createTempFile, dispose, endBatch, exists, get, get, getFileSystem, getFileSystems, getId, getLastModifiedTime, getLockControl, isSameFile, newBufferedReader, newBufferedWriter, newByteChannel, newDirectoryStream, newDirectoryStream, newFileSystem, newInputStream, newOutputStream, notExists, onNewFileSystem, readAllBytes, readAllLines, readAllLines, readAllString, readAllString, readAttributes, setAttribute, setAttributes, size, startBatch, startBatch, startBatch, startBatch, write, write, write, write, write, write, write, write, write, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvert, copy, copy, createDirectories, createDirectory, createFile, createTempDirectory, createTempDirectory, createTempFile, createTempFile, endBatch, exists, get, get, getFileSystem, getFileSystems, getLastModifiedTime, isSameFile, newBufferedReader, newBufferedWriter, newByteChannel, newDirectoryStream, newDirectoryStream, newFileSystem, newInputStream, newOutputStream, notExists, onNewFileSystem, readAllBytes, readAllLines, readAllLines, readAllString, readAllString, readAttributes, setAttribute, setAttributes, size, startBatch, startBatch, startBatch, startBatch, write, write, write, write, write, write, write, write, write, writepublic IOServiceNio2WrapperImpl()
public IOServiceNio2WrapperImpl(String id)
public IOServiceNio2WrapperImpl(IOWatchService watchService)
public IOServiceNio2WrapperImpl(String id, IOWatchService watchService)
public void delete(Path path, DeleteOption... options) throws IllegalArgumentException, NoSuchFileException, DirectoryNotEmptyException, org.uberfire.java.nio.IOException, SecurityException
delete in interface IOServiceIllegalArgumentExceptionNoSuchFileExceptionDirectoryNotEmptyExceptionorg.uberfire.java.nio.IOExceptionSecurityExceptionpublic boolean deleteIfExists(Path path, DeleteOption... options) throws IllegalArgumentException, DirectoryNotEmptyException, org.uberfire.java.nio.IOException, SecurityException
deleteIfExists in interface IOServiceIllegalArgumentExceptionDirectoryNotEmptyExceptionorg.uberfire.java.nio.IOExceptionSecurityExceptionpublic org.uberfire.java.nio.channels.SeekableByteChannel newByteChannel(Path path, Set<? extends OpenOption> options, org.uberfire.java.nio.file.attribute.FileAttribute<?>... attrs) throws IllegalArgumentException, UnsupportedOperationException, FileAlreadyExistsException, org.uberfire.java.nio.IOException, SecurityException
newByteChannel in interface IOServiceIllegalArgumentExceptionUnsupportedOperationExceptionFileAlreadyExistsExceptionorg.uberfire.java.nio.IOExceptionSecurityExceptionpublic Path createDirectory(Path dir, org.uberfire.java.nio.file.attribute.FileAttribute<?>... attrs) throws IllegalArgumentException, UnsupportedOperationException, FileAlreadyExistsException, org.uberfire.java.nio.IOException, SecurityException
createDirectory in interface IOServiceIllegalArgumentExceptionUnsupportedOperationExceptionFileAlreadyExistsExceptionorg.uberfire.java.nio.IOExceptionSecurityExceptionpublic Path createDirectories(Path dir, org.uberfire.java.nio.file.attribute.FileAttribute<?>... attrs) throws UnsupportedOperationException, FileAlreadyExistsException, org.uberfire.java.nio.IOException, SecurityException
createDirectories in interface IOServiceUnsupportedOperationExceptionFileAlreadyExistsExceptionorg.uberfire.java.nio.IOExceptionSecurityExceptionpublic Path copy(Path source, Path target, CopyOption... options) throws UnsupportedOperationException, FileAlreadyExistsException, DirectoryNotEmptyException, org.uberfire.java.nio.IOException, SecurityException
copy in interface IOServiceUnsupportedOperationExceptionFileAlreadyExistsExceptionDirectoryNotEmptyExceptionorg.uberfire.java.nio.IOExceptionSecurityExceptionpublic Path move(Path source, Path target, CopyOption... options) throws UnsupportedOperationException, FileAlreadyExistsException, DirectoryNotEmptyException, AtomicMoveNotSupportedException, org.uberfire.java.nio.IOException, SecurityException
move in interface IOServiceUnsupportedOperationExceptionFileAlreadyExistsExceptionDirectoryNotEmptyExceptionAtomicMoveNotSupportedExceptionorg.uberfire.java.nio.IOExceptionSecurityExceptionpublic <V extends org.uberfire.java.nio.file.attribute.FileAttributeView> V getFileAttributeView(Path path, Class<V> type) throws IllegalArgumentException
getFileAttributeView in interface IOServiceIllegalArgumentExceptionpublic Map<String,Object> readAttributes(Path path, String attributes) throws UnsupportedOperationException, NoSuchFileException, IllegalArgumentException, org.uberfire.java.nio.IOException, SecurityException
readAttributes in interface IOServiceUnsupportedOperationExceptionNoSuchFileExceptionIllegalArgumentExceptionorg.uberfire.java.nio.IOExceptionSecurityExceptionpublic Path setAttributes(Path path, org.uberfire.java.nio.file.attribute.FileAttribute<?>... attrs) throws UnsupportedOperationException, IllegalArgumentException, ClassCastException, org.uberfire.java.nio.IOException, SecurityException
setAttributes in interface IOServiceUnsupportedOperationExceptionIllegalArgumentExceptionClassCastExceptionorg.uberfire.java.nio.IOExceptionSecurityExceptionpublic Object getAttribute(Path path, String attribute) throws UnsupportedOperationException, IllegalArgumentException, org.uberfire.java.nio.IOException, SecurityException
getAttribute in interface IOServiceUnsupportedOperationExceptionIllegalArgumentExceptionorg.uberfire.java.nio.IOExceptionSecurityExceptionprotected Set<? extends OpenOption> buildOptions(Set<? extends OpenOption> options, OpenOption... others)
buildOptions in class AbstractIOServicepublic int priority()
priority in interface org.uberfire.commons.lifecycle.PriorityDisposableCopyright © 2012–2016 JBoss by Red Hat. All rights reserved.