public class DeploymentUtil extends Object
| Constructor and Description |
|---|
DeploymentUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
copyFolder(File src,
File dest) |
static void |
createRegistryResource(String url,
Object content) |
static String |
readFile(File file) |
static void |
removeRegistryResource(String resourcePath) |
public static void createRegistryResource(String url, Object content) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionpublic static void removeRegistryResource(String resourcePath) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionpublic static void copyFolder(File src, File dest) throws IOException
IOExceptionpublic static String readFile(File file) throws IOException
IOExceptionCopyright © 2018 WSO2. All rights reserved.