gov.nasa.pds.transport
Class PdsLabelTransformerHandler
java.lang.Object
gov.nasa.pds.transport.AbstractPdsGetHandler
gov.nasa.pds.transport.PdsLabelTransformerHandler
- All Implemented Interfaces:
- org.apache.oodt.product.handlers.ofsn.metadata.OFSNMetKeys, org.apache.oodt.product.handlers.ofsn.OFSNGetHandler
public class PdsLabelTransformerHandler
- extends AbstractPdsGetHandler
PDS Handler that transforms PDS3/PDS4 images to other formats.
- Author:
- Luca Cinquini
Fields inherited from interface org.apache.oodt.product.handlers.ofsn.metadata.OFSNMetKeys |
GET_CMD, LISTING_CMD, OFSN_COMPUTE_DIR_SIZE, OFSN_COMPUTE_FILE_SIZE, OFSN_XML_CONF_FILE_KEY |
Method Summary |
void |
configure(Properties properties)
Configuration method sets the temporary cache directory. |
File |
getOutputFile(String inputFilePath)
Method that generates the output image by delegating processing to the PDS image transformer. |
static void |
main(String[] args)
Debug method |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected static final Logger LOG
PdsLabelTransformerHandler
public PdsLabelTransformerHandler()
configure
public void configure(Properties properties)
- Description copied from class:
AbstractPdsGetHandler
- Configuration method sets the temporary cache directory.
Overriding subclasses should also invoke this superclass method.
- Specified by:
configure
in interface org.apache.oodt.product.handlers.ofsn.OFSNGetHandler
- Overrides:
configure
in class AbstractPdsGetHandler
getOutputFile
public File getOutputFile(String inputFilePath)
throws org.apache.oodt.product.ProductException
- Method that generates the output image by delegating processing to the PDS image transformer.
- Specified by:
getOutputFile
in class AbstractPdsGetHandler
- Returns:
- outputFile
- Throws:
org.apache.oodt.product.ProductException
main
public static void main(String[] args)
throws org.apache.oodt.product.ProductException
- Debug method
- Parameters:
args
-
- Throws:
org.apache.oodt.product.ProductException
Copyright © 2010–2014 Planetary Data System. All rights reserved.