Package org.correomqtt.core.fileprovider
Class BaseUserFileProvider
java.lang.Object
org.correomqtt.core.fileprovider.BaseUserFileProvider
- Direct Known Subclasses:
PluginConfigProvider
,PublishHistory
,PublishMessageHistory
,ScriptingProvider
,SecretStoreProvider
,SettingsManager
,SubscriptionHistory
,ThemeManager
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected File
getFile()
protected String
getFromCache
(String dir) protected String
getFromCache
(String dir, boolean autocreate) getScriptExecutionsDirectory
(String filename) getScriptExecutionsDirectory
(String filename, boolean autocreate) getScriptLogDirectory
(String filename) getScriptLogDirectory
(String filename, boolean autocreate) protected void
prepareFile
(String hookFile) protected void
saveToUserDirectory
(String filename, String content)
-
Field Details
-
SCRIPT_LOG_FOLDER_NAME
-
SCRIPT_EXECUTIONS_FOLDER_NAME
-
soyEvents
-
-
Constructor Details
-
BaseUserFileProvider
-
-
Method Details
-
getFile
-
prepareFile
- Throws:
IOException
-
saveToUserDirectory
-
getFromCache
-
getFromCache
-
getScriptLogDirectory
-
getScriptLogDirectory
-
getScriptExecutionsDirectory
-
getScriptExecutionsDirectory
-