The given stream is consumed and not closed by this method. It is the responsibility of the caller to close the stream. A typical call pattern would be:
InputStream stream = ...; try { record = store.addRecord(stream); } finally { stream.close(); }@param stream binary stream @return data record that contains the given stream @throws DataStoreException if the data store could not be accessed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|