public class RegistryClientUtils extends Object
Constructor and Description |
---|
RegistryClientUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
exportFromRegistry(File toFile,
String path,
Registry registry)
This method can be used to export registry instance or node in a registry to a local file
system.
|
static void |
importToRegistry(File file,
String path,
Registry registry)
This method can be used to import a local file system into a running instance of a registry.
|
public static void importToRegistry(File file, String path, Registry registry) throws RegistryException
file
- : File representing local file systempath
- : Where to put the fileregistry
- : Registry instanceRegistryException
- : if something went wrongpublic static void exportFromRegistry(File toFile, String path, Registry registry) throws RegistryException
toFile
- : File in the local file systempath
- : To which node exportregistry
- : Registry instanceRegistryException
- : If something went wrongCopyright © 2015 WSO2 Inc. All Rights Reserved.