public class PUZipUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PUZipUtils.DownloadProcessingUnitException |
Constructor and Description |
---|
PUZipUtils() |
Modifier and Type | Method and Description |
---|---|
static long |
downloadProcessingUnit(String puName,
URL url,
File extractToTarget,
File tempLocation) |
static void |
downloadProcessingUnit(URL url,
File target,
String puName) |
static long |
unzip(File targetZip,
File dirToExtract) |
static void |
uploadProcessingUnit(String deployURL,
String puPath,
File puFile) |
static void |
zip(File dir2zip,
File zipFile) |
public static void uploadProcessingUnit(String deployURL, String puPath, File puFile) throws Exception
Exception
public static long downloadProcessingUnit(String puName, URL url, File extractToTarget, File tempLocation) throws Exception
Exception
public static void downloadProcessingUnit(URL url, File target, String puName) throws PUZipUtils.DownloadProcessingUnitException
public static long unzip(File targetZip, File dirToExtract) throws Exception
Exception
public static void zip(File dir2zip, File zipFile) throws IOException
IOException
Copyright © GigaSpaces.