public interface FileReloader
| Modifier and Type | Method and Description |
|---|---|
String |
getId(String sourceUrl)
Get an unique ID for this File Reloader
|
void |
updateFile(String sourceUrl,
InputStream is)
Update the file, the sourceUrl is only there if you manage multiple files, the Configuration object is already present to read it
|
void updateFile(String sourceUrl, InputStream is) throws Exception
sourceUrl - the url of the file.is - the input stram to read, can be null if no file was readException - something went wrong while reading the inputstream