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. |
JNDI_NAME
static final java.lang.String JNDI_NAME
- The JNDI name to look up the remote
FileRetrievalService
service.
- See Also:
- Constant Field Values
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