public interface TemporaryPersistence
| Modifier and Type | Method and Description |
|---|---|
void |
clean(String id) |
File |
getById(String id) |
void |
init() |
void |
shutdown() |
String |
store(InputStream is) |
void |
update(String id,
InputStream is) |
void init() throws IOException
IOExceptionString store(InputStream is) throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionvoid clean(String id) throws IOException
IOExceptionvoid update(String id, InputStream is) throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionFile getById(String id) throws FileNotFoundException
FileNotFoundExceptionvoid shutdown()
Copyright © 2018. All Rights Reserved.