org.apache.oodt.product
Interface Retriever


public interface Retriever

Retrievers retrieve products.

Version:
$Revision: 1.1.1.1 $
Author:
Kelly

Method Summary
 void close(String productID)
          Close off a large product.
 byte[] retrieveChunk(String productID, long offset, int length)
          Retrieve a chunk from a large product.
 

Method Detail

retrieveChunk

byte[] retrieveChunk(String productID,
                     long offset,
                     int length)
                     throws ProductException
Retrieve a chunk from a large product.

Parameters:
productID - Product ID.
offset - Where in the product to retrieve the data.
length - How much data to get.
Returns:
The data.
Throws:
ProductException - if an error occurs.

close

void close(String productID)
           throws ProductException
Close off a large product.

Parameters:
productID - Product ID.
Throws:
ProductException - if an error occurs.


Copyright © 1999-2012 Apache OODT. All Rights Reserved.