public class DefaultFileSystemAbstraction extends Object implements org.neo4j.kernel.impl.nioneo.store.FileSystemAbstraction
org.neo4j.kernel.impl.nioneo.store.FileSystemAbstraction.ThirdPartyFileSystem| Constructor and Description |
|---|
DefaultFileSystemAbstraction() |
public FileChannel open(File fileName, String mode) throws IOException
open in interface org.neo4j.kernel.impl.nioneo.store.FileSystemAbstractionIOExceptionpublic OutputStream openAsOutputStream(File fileName, boolean append) throws IOException
openAsOutputStream in interface org.neo4j.kernel.impl.nioneo.store.FileSystemAbstractionIOExceptionpublic InputStream openAsInputStream(File fileName) throws IOException
openAsInputStream in interface org.neo4j.kernel.impl.nioneo.store.FileSystemAbstractionIOExceptionpublic Reader openAsReader(File fileName, String encoding) throws IOException
openAsReader in interface org.neo4j.kernel.impl.nioneo.store.FileSystemAbstractionIOExceptionpublic Writer openAsWriter(File fileName, String encoding, boolean append) throws IOException
openAsWriter in interface org.neo4j.kernel.impl.nioneo.store.FileSystemAbstractionIOExceptionpublic org.neo4j.kernel.impl.nioneo.store.FileLock tryLock(File fileName, FileChannel channel) throws IOException
tryLock in interface org.neo4j.kernel.impl.nioneo.store.FileSystemAbstractionIOExceptionpublic FileChannel create(File fileName) throws IOException
create in interface org.neo4j.kernel.impl.nioneo.store.FileSystemAbstractionIOExceptionpublic boolean mkdir(File fileName)
mkdir in interface org.neo4j.kernel.impl.nioneo.store.FileSystemAbstractionpublic void mkdirs(File path) throws IOException
mkdirs in interface org.neo4j.kernel.impl.nioneo.store.FileSystemAbstractionIOExceptionpublic boolean fileExists(File fileName)
fileExists in interface org.neo4j.kernel.impl.nioneo.store.FileSystemAbstractionpublic long getFileSize(File fileName)
getFileSize in interface org.neo4j.kernel.impl.nioneo.store.FileSystemAbstractionpublic boolean deleteFile(File fileName)
deleteFile in interface org.neo4j.kernel.impl.nioneo.store.FileSystemAbstractionpublic void deleteRecursively(File directory) throws IOException
deleteRecursively in interface org.neo4j.kernel.impl.nioneo.store.FileSystemAbstractionIOExceptionpublic boolean renameFile(File from, File to) throws IOException
renameFile in interface org.neo4j.kernel.impl.nioneo.store.FileSystemAbstractionIOExceptionpublic File[] listFiles(File directory)
listFiles in interface org.neo4j.kernel.impl.nioneo.store.FileSystemAbstractionpublic boolean isDirectory(File file)
isDirectory in interface org.neo4j.kernel.impl.nioneo.store.FileSystemAbstractionpublic void moveToDirectory(File file, File toDirectory) throws IOException
moveToDirectory in interface org.neo4j.kernel.impl.nioneo.store.FileSystemAbstractionIOExceptionpublic void copyFile(File from, File to) throws IOException
copyFile in interface org.neo4j.kernel.impl.nioneo.store.FileSystemAbstractionIOExceptionpublic void copyRecursively(File fromDirectory, File toDirectory) throws IOException
copyRecursively in interface org.neo4j.kernel.impl.nioneo.store.FileSystemAbstractionIOExceptionpublic <K extends org.neo4j.kernel.impl.nioneo.store.FileSystemAbstraction.ThirdPartyFileSystem> K getOrCreateThirdPartyFileSystem(Class<K> clazz, Function<Class<K>,K> creator)
getOrCreateThirdPartyFileSystem in interface org.neo4j.kernel.impl.nioneo.store.FileSystemAbstractionCopyright © 2002–2013 The Neo4j Graph Database Project. All rights reserved.