Package org.jorigin

Class Common


  • public class Common
    extends java.lang.Object
    The information class about the Common libraries for JOrigin project. This class is only used for gathering informations about the Common libraries.
    The logging level of the common logger can be set by the system property java.util.logging.level with values:
    • OFF
    • SEVERE
    • WARNING
    • INFO
    • CONFIG
    • FINE
    • FINER
    • FINEST
    • ALL
    When a value is set, all level above are implicitly included. For example, a level FINE enable also CONFIG, INFO, WARNING and SEVERE.
    Since:
    1.0.0
    Version:
    1.0.4
    Author:
    Julien Seinturier - (c) 2009 - JOrigin project - http:/www.jorigin.org
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long BUILD
      The build version.
      static java.util.logging.Logger logger
      The logger used for reporting.
      static java.lang.String version
      The version number
    • Constructor Summary

      Constructors 
      Constructor Description
      Common()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void init()
      Initialize the JOrigin common package.
      static void setLogger​(java.util.logging.Logger logger)
      Set the logger to use for reporting.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • logger

        public static java.util.logging.Logger logger
        The logger used for reporting.
      • version

        public static final java.lang.String version
        The version number
        See Also:
        Constant Field Values
    • Constructor Detail

      • Common

        public Common()
    • Method Detail

      • init

        public static final void init()
        Initialize the JOrigin common package.
      • setLogger

        public static void setLogger​(java.util.logging.Logger logger)
        Set the logger to use for reporting.
        Parameters:
        logger - the logger to use for reporting.