public class CASProductHandler extends Object implements LargeProductQueryHandler
Describe your class here
.Constructor and Description |
---|
CASProductHandler() |
public CASProductHandler() throws MalformedURLException, ConnectionException
public XMLQuery query(XMLQuery query) throws ProductException
QueryHandler
query
in interface QueryHandler
query
- The query.ProductException
- if an error occurs.public void close(String id) throws ProductException
LargeProductQueryHandler
IOException
when closing a file.close
in interface LargeProductQueryHandler
id
- Product ID.ProductException
- if an error occurs.public byte[] retrieveChunk(String id, long offset, int length) throws ProductException
LargeProductQueryHandler
retrieveChunk
in interface LargeProductQueryHandler
id
- Product ID.offset
- Where in the product to get a chunk of it.length
- How much of the product to get.ProductException
- if an error occurs.Copyright © 1999-2014 Apache OODT. All Rights Reserved.