Class PluginIdChecker
- java.lang.Object
- 
- org.pepstock.charba.client.plugins.PluginIdChecker
 
- 
 public final class PluginIdChecker extends Object This utility checks if the plug ID is acceptable or not.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcheck(String id)Checks if the plugin is compliant with the constraints of plugin id.
 A plugin id
 can not start with a dot or an underscore can not contain any non-URL-safe characters cannot contain upper case letters should be something short, but also reasonably descriptivestatic Keykey(String id)Creates a key by the plugin id as string
 
- 
- 
- 
Method Detail- 
checkpublic static void check(String id) Checks if the plugin is compliant with the constraints of plugin id.
 A plugin id
 - can not start with a dot or an underscore
- can not contain any non-URL-safe characters
- cannot contain upper case letters
- should be something short, but also reasonably descriptive
 - Parameters:
- id- plugin id to be checked.
 
 
- 
 
-