| java.lang.Object | |
| ↳ | com.microstrategy.utils.PluginsHelper |
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | PLUGIN_DIRNAME | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| PluginsHelper() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static String | resolvePlugin(String valueString) | ||||||||||
| static String |
sanitizePluginsFolderPath(String folderPath)
Sanitizes folder path by restricting access to a custom plugins folder (/plugins) only.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Sanitizes folder path by restricting access to a custom plugins folder (/plugins) only.
Adds a plugins/ prefix if not already provided.
Ex. Following all path points to same directory: plugins/BulletChart or /BulletChart or BulletChart
| folderPath | Name of the custom plugin folder |
|---|
| IllegalArgumentException | if folderPath is invalid/not-allowed |
|---|