public class IOServiceIndexedImpl extends IOServiceDotFileImpl
IOService.NewFileSystemListenerDEFAULT_SERVICE_NAME, fileSystems, ioWatchService, isDisposed, newFileSystemListener, UTF_8EMPTY_OPTIONS| Modifier and Type | Method and Description |
|---|---|
void |
delete(Path path,
DeleteOption... options) |
boolean |
deleteIfExists(Path path,
DeleteOption... options) |
void |
dispose() |
FileSystem |
getFileSystem(URI uri) |
MetaIndexEngine |
getIndexEngine() |
FileSystem |
newFileSystem(URI uri,
Map<String,?> env) |
int |
priority() |
protected void |
setupWatchService(FileSystem fs) |
buildOptions, buildOptions, copy, createDirectories, createDirectory, forceBuildOptions, getAttribute, getFileAttributeView, internalCreateDirectory, isFileScheme, loadDotFile, move, newByteChannel, newView, readAttributes, setAttributes, splitconvert, copy, copy, createDirectories, createDirectory, createFile, createTempDirectory, createTempDirectory, createTempFile, createTempFile, endBatch, exists, get, get, getFileSystemMetadata, getId, getLastModifiedTime, getLockControl, isSameFile, newBufferedReader, newBufferedWriter, newByteChannel, newDirectoryStream, newDirectoryStream, newInputStream, newOutputStream, notExists, onNewFileSystem, readAllBytes, readAllLines, readAllLines, readAllString, readAllString, readAttributes, setAttribute, setAttributes, size, 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, getFileSystemMetadata, getLastModifiedTime, isSameFile, newBufferedReader, newBufferedWriter, newByteChannel, newDirectoryStream, newDirectoryStream, newInputStream, newOutputStream, notExists, onNewFileSystem, readAllBytes, readAllLines, readAllLines, readAllString, readAllString, readAttributes, setAttribute, setAttributes, size, startBatch, startBatch, write, write, write, write, write, write, write, write, write, writepublic IOServiceIndexedImpl(MetaIndexEngine indexEngine, ExecutorService executorService, Class<? extends FileAttributeView>... views)
public IOServiceIndexedImpl(String id, MetaIndexEngine indexEngine, ExecutorService executorService, Class<? extends FileAttributeView>... views)
public IOServiceIndexedImpl(IOWatchService watchService, MetaIndexEngine indexEngine, ExecutorService executorService, Class<? extends FileAttributeView>... views)
public IOServiceIndexedImpl(String id, IOWatchService watchService, MetaIndexEngine indexEngine, ExecutorService executorService, Class<? extends FileAttributeView>... views)
public IOServiceIndexedImpl(MetaIndexEngine indexEngine, Observer observer, ExecutorService executorService, Class<? extends FileAttributeView>... views)
public IOServiceIndexedImpl(String id, MetaIndexEngine indexEngine, Observer observer, ExecutorService executorService, Class<? extends FileAttributeView>... views)
public IOServiceIndexedImpl(IOWatchService watchService, MetaIndexEngine indexEngine, Observer observer, ExecutorService executorService, Class<? extends FileAttributeView>... views)
public IOServiceIndexedImpl(String id, IOWatchService watchService, MetaIndexEngine indexEngine, Observer observer, ExecutorService executorService, Class<? extends FileAttributeView>... views)
public FileSystem getFileSystem(URI uri) throws IllegalArgumentException, FileSystemNotFoundException, ProviderNotFoundException, SecurityException
getFileSystem in interface IOServicegetFileSystem in class AbstractIOServiceIllegalArgumentExceptionFileSystemNotFoundExceptionProviderNotFoundExceptionSecurityExceptionpublic FileSystem newFileSystem(URI uri, Map<String,?> env) throws IllegalArgumentException, FileSystemAlreadyExistsException, ProviderNotFoundException, IOException, SecurityException
newFileSystem in interface IOServicenewFileSystem in class AbstractIOServiceIllegalArgumentExceptionFileSystemAlreadyExistsExceptionProviderNotFoundExceptionIOExceptionSecurityExceptionpublic int priority()
priority in interface org.uberfire.commons.lifecycle.PriorityDisposablepriority in class IOServiceDotFileImplpublic void dispose()
dispose in interface org.uberfire.commons.lifecycle.Disposabledispose in class AbstractIOServiceprotected void setupWatchService(FileSystem fs)
public void delete(Path path, DeleteOption... options) throws IllegalArgumentException, NoSuchFileException, DirectoryNotEmptyException, IOException, SecurityException
delete in interface IOServicedelete in class IOServiceDotFileImplIllegalArgumentExceptionNoSuchFileExceptionDirectoryNotEmptyExceptionIOExceptionSecurityExceptionpublic boolean deleteIfExists(Path path, DeleteOption... options) throws IllegalArgumentException, DirectoryNotEmptyException, IOException, SecurityException
deleteIfExists in interface IOServicedeleteIfExists in class IOServiceDotFileImplIllegalArgumentExceptionDirectoryNotEmptyExceptionIOExceptionSecurityExceptionpublic MetaIndexEngine getIndexEngine()
Copyright © 2012–2017 JBoss by Red Hat. All rights reserved.