public final class DataUtils extends Object implements DataDeliveryKeys
CONTENT_DISPOSITION_HDR, CONTENT_LENGTH_HDR, CONTENT_TYPE_HDR, FORMAT_ZIP
Constructor and Description |
---|
DataUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
createDatasetZipFile(ProductType type,
String workingDirPath) |
static String |
createProductZipFile(Product product,
Metadata metadata,
String workingDirPath) |
static String |
guessTypeFromName(String name)
Guess what the content type is from the given url.
|
public static String createDatasetZipFile(ProductType type, String workingDirPath) throws Exception
Exception
public static String createProductZipFile(Product product, Metadata metadata, String workingDirPath) throws Exception
Exception
Copyright © 1999-2015 Apache OODT. All Rights Reserved.