public final class DataUtils extends Object implements DataDeliveryKeys
Modifier and Type | Field and Description |
---|---|
static int |
INT |
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 final int INT
public static String createDatasetZipFile(ProductType type, String workingDirPath) throws IOException, CasProductException
IOException
CasProductException
public static String createProductZipFile(Product product, Metadata metadata, String workingDirPath) throws IOException
IOException
Copyright © 1999–2017 Apache OODT. All rights reserved.