public interface FileSystemAbstraction
| Modifier and Type | Interface and Description |
|---|---|
static interface |
FileSystemAbstraction.ThirdPartyFileSystem |
StoreChannel open(File fileName, String mode) throws IOException
IOExceptionOutputStream openAsOutputStream(File fileName, boolean append) throws IOException
IOExceptionInputStream openAsInputStream(File fileName) throws IOException
IOExceptionReader openAsReader(File fileName, Charset charset) throws IOException
IOExceptionWriter openAsWriter(File fileName, Charset charset, boolean append) throws IOException
IOExceptionStoreChannel create(File fileName) throws IOException
IOExceptionboolean fileExists(File fileName)
boolean mkdir(File fileName)
void mkdirs(File fileName) throws IOException
IOExceptionlong getFileSize(File fileName)
boolean deleteFile(File fileName)
void deleteRecursively(File directory) throws IOException
IOExceptionvoid renameFile(File from, File to, CopyOption... copyOptions) throws IOException
IOExceptionFile[] listFiles(File directory, FilenameFilter filter)
boolean isDirectory(File file)
void moveToDirectory(File file, File toDirectory) throws IOException
IOExceptionvoid copyFile(File from, File to) throws IOException
IOExceptionvoid copyRecursively(File fromDirectory, File toDirectory) throws IOException
IOException<K extends FileSystemAbstraction.ThirdPartyFileSystem> K getOrCreateThirdPartyFileSystem(Class<K> clazz, Function<Class<K>,K> creator)
void truncate(File path, long size) throws IOException
IOExceptionlong lastModifiedTime(File file) throws IOException
IOExceptionvoid deleteFileOrThrow(File file) throws IOException
IOExceptionCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.