Interface FileReloader
-
- All Known Implementing Classes:
ContentViewParametersManager.ContentViewParametersReloader
,FilteredContentsInputData
,GlobalViewParametersManager.GlobalViewParametersReloader
,HelpManager
,LinkDirectoryColorsComponent.LinkDirectoryReloader
,ServiceViewParametersManager.ServiceViewParametersReloader
,SitemapInputData
,SkinSitemapDecorators
,SkinSitemapIcons
public interface FileReloader
Represents a class able to handle a reloadable configuration file
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getId(String sourceUrl)
Get an unique ID for this File Reloadervoid
updateFile(String sourceUrl, Source source, InputStream is)
Update the file, the sourceUrl is only there if you manage multiple files, the Configuration object is already present to read it
-
-
-
Method Detail
-
updateFile
void updateFile(String sourceUrl, Source source, InputStream is) throws Exception
Update the file, the sourceUrl is only there if you manage multiple files, the Configuration object is already present to read it- Parameters:
sourceUrl
- the url of the file.source
- the source to read, can be null if no file was readis
- the input stream to read, can be null if no file was read- Throws:
Exception
- something went wrong while reading the inputstream
-
-