org.apache.accumulo.start.classloader.vfs
Class UniqueFileReplicator
java.lang.Object
org.apache.accumulo.start.classloader.vfs.UniqueFileReplicator
- All Implemented Interfaces:
- org.apache.commons.vfs2.provider.FileReplicator, org.apache.commons.vfs2.provider.VfsComponent
public class UniqueFileReplicator
- extends Object
- implements org.apache.commons.vfs2.provider.VfsComponent, org.apache.commons.vfs2.provider.FileReplicator
Method Summary |
void |
close()
|
void |
init()
|
File |
replicateFile(org.apache.commons.vfs2.FileObject srcFile,
org.apache.commons.vfs2.FileSelector selector)
|
void |
setContext(org.apache.commons.vfs2.provider.VfsComponentContext context)
|
void |
setLogger(org.apache.commons.logging.Log logger)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UniqueFileReplicator
public UniqueFileReplicator(File tempDir)
replicateFile
public File replicateFile(org.apache.commons.vfs2.FileObject srcFile,
org.apache.commons.vfs2.FileSelector selector)
throws org.apache.commons.vfs2.FileSystemException
- Specified by:
replicateFile
in interface org.apache.commons.vfs2.provider.FileReplicator
- Throws:
org.apache.commons.vfs2.FileSystemException
setLogger
public void setLogger(org.apache.commons.logging.Log logger)
- Specified by:
setLogger
in interface org.apache.commons.vfs2.provider.VfsComponent
setContext
public void setContext(org.apache.commons.vfs2.provider.VfsComponentContext context)
- Specified by:
setContext
in interface org.apache.commons.vfs2.provider.VfsComponent
init
public void init()
throws org.apache.commons.vfs2.FileSystemException
- Specified by:
init
in interface org.apache.commons.vfs2.provider.VfsComponent
- Throws:
org.apache.commons.vfs2.FileSystemException
close
public void close()
- Specified by:
close
in interface org.apache.commons.vfs2.provider.VfsComponent
Copyright © 2013 Apache Accumulo Project. All Rights Reserved.