gov.nasa.pds.transport
Class PdsLabelHandler

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

public class PdsLabelHandler
extends AbstractPdsGetHandler

PDS Handler that expands and returns a PDS3 label, as plain text.

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
PdsLabelHandler()
           
 
Method Summary
protected  File getOutputFile(String inputFilePath)
          This method generates the expanded label by delegating all processing to the product-tools package.
 
Methods inherited from class gov.nasa.pds.transport.AbstractPdsGetHandler
configure, 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

PdsLabelHandler

public PdsLabelHandler()
Method Detail

getOutputFile

protected File getOutputFile(String inputFilePath)
                      throws org.apache.oodt.product.ProductException
This method generates the expanded label by delegating all processing to the product-tools package.

Specified by:
getOutputFile in class AbstractPdsGetHandler
Returns:
outputFile
Throws:
org.apache.oodt.product.ProductException


Copyright © 2010–2014 Planetary Data System. All rights reserved.