jpl.pds.server
Class JPEGFileHandler
java.lang.Object
jpl.pds.server.ChunkedFileHandler
jpl.pds.server.JPEGFileHandler
- All Implemented Interfaces:
- FileQuerier
public class JPEGFileHandler
- extends ChunkedFileHandler
Handle product queries to return JPEG PDS products. If jpegName is
PDS_JPEG_SIZE then return the size of file that PDS_JPEG would
download.
- Author:
- J. Crichton.
Method Summary |
static void |
main(String[] argv)
Command-line driver. |
jpl.eda.xmlquery.XMLQuery |
queryForFile(jpl.eda.xmlquery.XMLQuery query,
File[] fileArray,
String jpegName)
Query for a file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JPEGFileHandler
public JPEGFileHandler()
queryForFile
public jpl.eda.xmlquery.XMLQuery queryForFile(jpl.eda.xmlquery.XMLQuery query,
File[] fileArray,
String jpegName)
throws jpl.eda.product.ProductException
- Description copied from interface:
FileQuerier
- Query for a file.
- Parameters:
query
- a XMLQuery
value.
- Returns:
- a
XMLQuery
value.
- Throws:
jpl.eda.product.ProductException
- if an error occurs.
main
public static void main(String[] argv)
- Command-line driver.
- Parameters:
argv
- Command-line arguments.
Copyright © 2005-2012 Planetary Data System. All Rights Reserved.