public class OFSNFileHandler extends Object implements org.apache.oodt.product.LargeProductQueryHandler, org.apache.oodt.product.handlers.ofsn.metadata.XMLQueryMetKeys, org.apache.oodt.product.handlers.ofsn.metadata.OFSNXMLMetKeys, org.apache.oodt.product.handlers.ofsn.metadata.OFSNMetKeys, org.apache.oodt.product.handlers.ofsn.metadata.OFSNXMLConfigMetKeys
OFSN, RETURN_TYPE
DIR_ENTRY_TAG, DIR_LISTING_NS, DIR_RESULT_TAG, FILE_SIZE_TAG, OFSN_TAG, XML_MIME_TYPE
GET_CMD, LISTING_CMD, OFSN_COMPUTE_DIR_SIZE, OFSN_COMPUTE_FILE_SIZE, OFSN_XML_CONF_FILE_KEY
HANDLER_CLASSNAME_ATTR, HANDLER_NAME_ATTR, HANDLER_TAG, HANDLER_TYPE_ATTR, OFSN_CFG_ID_ATTR, OFSN_CFG_NAME_ATTR, OFSN_PRODUCT_ROOT_ATTR, PROPERTY_MIMETYPE_ATTR, PROPERTY_NAME_ATTR, PROPERTY_TAG, PROPERTY_VALUE_ATTR
Constructor and Description |
---|
OFSNFileHandler() |
Modifier and Type | Method and Description |
---|---|
void |
close(String id) |
org.apache.oodt.xmlquery.XMLQuery |
query(org.apache.oodt.xmlquery.XMLQuery xmlQuery) |
byte[] |
retrieveChunk(String id,
long offset,
int length) |
void |
writeToFile(File[] fileArray,
String optArg,
OutputStream outStream) |
public OFSNFileHandler() throws InstantiationException
InstantiationException
public org.apache.oodt.xmlquery.XMLQuery query(org.apache.oodt.xmlquery.XMLQuery xmlQuery) throws org.apache.oodt.product.ProductException
query
in interface org.apache.oodt.product.QueryHandler
org.apache.oodt.product.ProductException
public void close(String id) throws org.apache.oodt.product.ProductException
close
in interface org.apache.oodt.product.LargeProductQueryHandler
org.apache.oodt.product.ProductException
public byte[] retrieveChunk(String id, long offset, int length) throws org.apache.oodt.product.ProductException
retrieveChunk
in interface org.apache.oodt.product.LargeProductQueryHandler
org.apache.oodt.product.ProductException
public void writeToFile(File[] fileArray, String optArg, OutputStream outStream)
Copyright © 2010–2015 Planetary Data System. All rights reserved.