gov.nih.nci.caarray.services.file
Interface FileRetrievalService


public interface FileRetrievalService

Allows remote API access to download files stored in caArray.


Field Summary
static java.lang.String JNDI_NAME
          The JNDI name to look up the remote FileRetrievalService service.
 
Method Summary
 byte[] readFile(CaArrayFile file)
          Returns the requested file's contents.
 

Field Detail

JNDI_NAME

static final java.lang.String JNDI_NAME
The JNDI name to look up the remote FileRetrievalService service.

See Also:
Constant Field Values
Method Detail

readFile

byte[] readFile(CaArrayFile file)
Returns the requested file's contents.

Parameters:
file - the caArray file to retrieve
Returns:
a stream to read the file from