|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExecutionFileStorage
Handles storage and retrieval of typed files for an execution, the filetype is specified in the store(String,
java.io.InputStream, long, java.util.Date)
and retrieve(String, java.io.OutputStream)
methods, and more
than one filetype may be stored or retrieved for the same execution.
Method Summary | |
---|---|
boolean |
retrieve(java.lang.String filetype,
java.io.OutputStream stream)
Write a file of the given file type to the given stream |
boolean |
store(java.lang.String filetype,
java.io.InputStream stream,
long length,
java.util.Date lastModified)
Stores a file of the given file type, read from the given stream |
Method Detail |
---|
boolean store(java.lang.String filetype, java.io.InputStream stream, long length, java.util.Date lastModified) throws java.io.IOException, ExecutionFileStorageException
filetype
- filetype or extension of the file to storestream
- the input streamlength
- the file lengthlastModified
- the file modification time
java.io.IOException
ExecutionFileStorageException
boolean retrieve(java.lang.String filetype, java.io.OutputStream stream) throws java.io.IOException, ExecutionFileStorageException
filetype
- key to identify stored filestream
- the output stream
java.io.IOException
ExecutionFileStorageException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |