Class 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 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 to false, the date time library is not injected.
        Parameters:
        loadDateTimeLibrary - if false, the date time library is not injected