public class IOServiceIndexedImpl extends IOServiceDotFileImpl
IOService.NewFileSystemListener
DEFAULT_SERVICE_NAME, fileSystems, ioWatchService, isDisposed, newFileSystemListener, UTF_8
EMPTY_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() |
protected Set<Path> |
getRealCreatedPaths(List<WatchEvent<?>> events) |
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, split
convert, 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, write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
convert, 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, write
@SafeVarargs public IOServiceIndexedImpl(MetaIndexEngine indexEngine, ExecutorService executorService, IndexersFactory indexersFactory, IndexerDispatcher.IndexerDispatcherFactory dispatcherFactory, Class<? extends FileAttributeView>... views)
@SafeVarargs public IOServiceIndexedImpl(String id, MetaIndexEngine indexEngine, ExecutorService executorService, IndexersFactory indexersFactory, IndexerDispatcher.IndexerDispatcherFactory dispatcherFactory, Class<? extends FileAttributeView>... views)
@SafeVarargs public IOServiceIndexedImpl(IOWatchService watchService, MetaIndexEngine indexEngine, ExecutorService executorService, IndexersFactory indexersFactory, IndexerDispatcher.IndexerDispatcherFactory dispatcherFactory, Class<? extends FileAttributeView>... views)
@SafeVarargs public IOServiceIndexedImpl(String id, IOWatchService watchService, MetaIndexEngine indexEngine, ExecutorService executorService, IndexersFactory indexersFactory, IndexerDispatcher.IndexerDispatcherFactory dispatcherFactory, Class<? extends FileAttributeView>... views)
@SafeVarargs public IOServiceIndexedImpl(MetaIndexEngine indexEngine, Observer observer, ExecutorService executorService, IndexersFactory indexersFactory, IndexerDispatcher.IndexerDispatcherFactory dispatcherFactory, BatchIndexListener batchIndexListener, Class<? extends FileAttributeView>... views)
@SafeVarargs public IOServiceIndexedImpl(String id, MetaIndexEngine indexEngine, Observer observer, ExecutorService executorService, IndexersFactory indexersFactory, IndexerDispatcher.IndexerDispatcherFactory dispatcherFactory, BatchIndexListener batchIndexListener, Class<? extends FileAttributeView>... views)
@SafeVarargs public IOServiceIndexedImpl(IOWatchService watchService, MetaIndexEngine indexEngine, Observer observer, ExecutorService executorService, IndexersFactory indexersFactory, IndexerDispatcher.IndexerDispatcherFactory dispatcherFactory, BatchIndexListener batchIndexListener, Class<? extends FileAttributeView>... views)
@SafeVarargs public IOServiceIndexedImpl(String id, IOWatchService watchService, MetaIndexEngine indexEngine, Observer observer, ExecutorService executorService, IndexersFactory indexersFactory, IndexerDispatcher.IndexerDispatcherFactory dispatcherFactory, BatchIndexListener batchIndexListener, Class<? extends FileAttributeView>... views)
public FileSystem getFileSystem(URI uri) throws IllegalArgumentException, FileSystemNotFoundException, ProviderNotFoundException, SecurityException
getFileSystem
in interface IOService
getFileSystem
in class AbstractIOService
IllegalArgumentException
FileSystemNotFoundException
ProviderNotFoundException
SecurityException
public FileSystem newFileSystem(URI uri, Map<String,?> env) throws IllegalArgumentException, FileSystemAlreadyExistsException, ProviderNotFoundException, IOException, SecurityException
newFileSystem
in interface IOService
newFileSystem
in class AbstractIOService
IllegalArgumentException
FileSystemAlreadyExistsException
ProviderNotFoundException
IOException
SecurityException
public int priority()
priority
in interface org.uberfire.commons.lifecycle.PriorityDisposable
priority
in class IOServiceDotFileImpl
public void dispose()
dispose
in interface org.uberfire.commons.lifecycle.Disposable
dispose
in class AbstractIOService
protected void setupWatchService(FileSystem fs)
public void delete(Path path, DeleteOption... options) throws IllegalArgumentException, NoSuchFileException, DirectoryNotEmptyException, IOException, SecurityException
delete
in interface IOService
delete
in class IOServiceDotFileImpl
IllegalArgumentException
NoSuchFileException
DirectoryNotEmptyException
IOException
SecurityException
protected Set<Path> getRealCreatedPaths(List<WatchEvent<?>> events)
public boolean deleteIfExists(Path path, DeleteOption... options) throws IllegalArgumentException, DirectoryNotEmptyException, IOException, SecurityException
deleteIfExists
in interface IOService
deleteIfExists
in class IOServiceDotFileImpl
IllegalArgumentException
DirectoryNotEmptyException
IOException
SecurityException
public MetaIndexEngine getIndexEngine()
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.