public interface FilesApi
FilesQueryApi
.Modifier and Type | Method and Description |
---|---|
StoredFile |
addChunk(byte[] data)
Add a "chunk" of data to a stored file.
|
StoredFile |
get()
Retrieve a specific stored file (not the content) based on the id.
|
StoredFile |
update(StoredFile storedFile)
Update the metadata of a stored file in slick.
|
StoredFile get() throws SlickError
SlickError
- if an error occurs talking to slick.StoredFile addChunk(byte[] data) throws SlickError
data
- The "chunk" of data to uploadSlickError
- if an error occurs talking to slick.StoredFile update(StoredFile storedFile) throws SlickError
storedFile
- The updates to the stored file.SlickError
- if an error occurs talking to slick.Copyright © 2015. All rights reserved.