public interface FileStore
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete(String path)
Deletes a file.
|
InputStream |
load(String path)
Loads a file from a storage service.
|
String |
store(String path,
InputStream data)
Saves a file to a storage service.
|
InputStream load(String path)
path - the relative file pathString store(String path, InputStream data)
path - the relative file pathdata - the contents of the fileboolean delete(String path)
path - the relative file pathCopyright © 2016 Erudika. All rights reserved.