|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.carbon.registry.dump.RegistryToFileSystemHandler
public class RegistryToFileSystemHandler
This class performs operations to dump a registry path to file system. This includes copying files, storing meta data, identifying modified files when updating etc.
Constructor Summary | |
---|---|
RegistryToFileSystemHandler(Registry registry)
|
Method Summary | |
---|---|
void |
dumpToFilesystem(String registryPath,
String startingDir)
Dumps a registry path into a given directory in the file system |
void |
dumpToFilesystem(String registryPath,
String startingDir,
String metaDir)
Dumps a registry path into a given directory in the file system |
void |
update(String registryPath,
String startingDir,
String metaStartingDir)
Updates an already checked out directory if there are updated files in the registry |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegistryToFileSystemHandler(Registry registry)
Method Detail |
---|
public void dumpToFilesystem(String registryPath, String startingDir) throws Exception
registryPath
- - registry collection pathstartingDir
- - directory to store files
Exception
- - on errorpublic void dumpToFilesystem(String registryPath, String startingDir, String metaDir) throws Exception
registryPath
- - registry collection pathstartingDir
- - directory to store filesmetaDir
- - directory to store meta info. if this null, startingDir is used for meta
Exception
- - on errorpublic void update(String registryPath, String startingDir, String metaStartingDir) throws Exception
registryPath
- - registry path to updatestartingDir
- - dir to updatemetaStartingDir
- - dir to find meta info
Exception
- - on error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |