|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataRepository
Repository for file entities.
Method Summary | |
---|---|
Data |
create(java.io.InputStream dataStream,
long length)
Create a new item of binary data. |
void |
retrieve(Data data,
StreamAction action)
Retrieve an existing item of binary data and write it to an output stream. |
Method Detail |
---|
Data create(java.io.InputStream dataStream, long length)
dataStream
- The input stream from which the bytes for the new data
item should be read.length
- The length of the input, in bytes.
Data
that represents the contents of the
stream.void retrieve(Data data, StreamAction action)
data
- The identifier for the existing data.action
- An action to perform with the retrieved data.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |