Depending on what type of file or setting you are looking for, one of the following APIs will apply...
In VM -> ISystemSettings Latest Javadoc
Web -> (Are we going to support this?)
{{
File getGlobalConfigDir();
File getPluginsRootDir();
File getPluginDir(String pluginId);
File getSystemConfigDir(String tenantId);
File getPluginConfigDir(String tenantId, String pluginId);
File getTempDir(String tenantId);
File getAuditDir(String tenantId);
File getConentRepositoryDir(String tenantId);
Document getGlobalConfigDocument(String relativePathToFile);
Properties getGlobalConfigProperties(String relativePathToFile);
File getGlobalConfigFile(String relativePathToFile);
File getTempFile(String tenantId, String fileName);
File getAuditLog(String tenantId);
File getContentRepositoryFile(String tenantId, String fileName);
Document getSystemConfigDocument(String tenantId, String relativePathToFile);
Properties getSystemConfigProperties(String tenantId, String relativePathToFile);
File getSystemConfigFile(String tenantId, String relativePathToFile);
Document getPluginConfigDocument(String tenantId, String pluginId, String relativePathToFile);
Properties getPluginConfigProperties(String tenantId, String pluginId, String relativePathToFile);
File getPluginConfigFile(String tenantId, String pluginId, String relativePathToFile);
}}
In VM -> IUnifiedRepository Latest Javadoc
Web -> http://localhost:8080/api/files/:content
In VM -> IPluginResourceLoader Latest Javadoc Code Example
Web ->