Package org.pepstock.charba.client
Class Charba
- java.lang.Object
-
- org.pepstock.charba.client.Charba
-
public final class Charba extends Object
Entry point to initialize and inject all Charba modules.
This utility MUST be called as first statement before using Charba.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
enable()
Enables Charba in the application, injecting also the date time library.static void
enable(boolean loadDateTimeLibrary)
Enables Charba in the application.
If the argument is set tofalse
, the date time library is not injected.
-
-
-
Method Detail
-
enable
public static void enable()
Enables Charba in the application, injecting also the date time library.
-
enable
public static void enable(boolean loadDateTimeLibrary)
Enables Charba in the application.
If the argument is set tofalse
, the date time library is not injected.- Parameters:
loadDateTimeLibrary
- iffalse
, the date time library is not injected
-
-