gov.nasa.pds.transport
Class Pds4TransformerHandler

java.lang.Object
  extended by gov.nasa.pds.transport.AbstractPdsGetHandler
      extended by gov.nasa.pds.transport.Pds4TransformerHandler
All Implemented Interfaces:
org.apache.oodt.product.handlers.ofsn.metadata.OFSNMetKeys, org.apache.oodt.product.handlers.ofsn.OFSNGetHandler

public class Pds4TransformerHandler
extends AbstractPdsGetHandler

PDS Handler that transforms PDS4 images to common image formats.

Author:
Luca Cinquini

Field Summary
protected static Logger LOG
           
 
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
 
Constructor Summary
Pds4TransformerHandler()
           
 
Method Summary
 void configure(Properties properties)
          Configuration method sets the temporary cache directory.
protected  File getOutputFile(String inputFilePath)
          Method that generates the output image by delegating processing to the PDS image transformer.
 
Methods inherited from class gov.nasa.pds.transport.AbstractPdsGetHandler
getCache, getConfiguration, retrieveChunk, sizeOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static final Logger LOG
Constructor Detail

Pds4TransformerHandler

public Pds4TransformerHandler()
Method Detail

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

protected 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


Copyright © 2010-2014 Planetary Data System. All Rights Reserved.