public class CASProductHandler extends Object implements LargeProductQueryHandler
Describe your class here
.| Constructor and Description | 
|---|
| CASProductHandler() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close(String id)Close off a product. | 
| XMLQuery | query(XMLQuery query)Run a query. | 
| byte[] | retrieveChunk(String id,
             long offset,
             int length)Retrieve a chunk of a product. | 
public CASProductHandler()
                  throws MalformedURLException,
                         ConnectionException
public XMLQuery query(XMLQuery query) throws ProductException
QueryHandlerquery in interface QueryHandlerquery - The query.ProductException - if an error occurs.public void close(String id)
LargeProductQueryHandlerIOException when closing a file.close in interface LargeProductQueryHandlerid - Product ID.public byte[] retrieveChunk(String id, long offset, int length) throws ProductException
LargeProductQueryHandlerretrieveChunk in interface LargeProductQueryHandlerid - 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–2017 Apache OODT. All rights reserved.