Class Main


  • public class Main
    extends java.lang.Object
    Main class for the kernel, any code executed in the Kernel is called from this class.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.logging.Logger LOGGER
      The Constant LOGGER for any log in the Kernel.
    • Constructor Summary

      Constructors 
      Constructor Description
      Main()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Simple main.
      protected static void registerConverters()
      Register Kernel converters.
      • Methods inherited from class java.lang.Object

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

      • LOGGER

        public static final java.util.logging.Logger LOGGER
        The Constant LOGGER for any log in the Kernel.
    • Constructor Detail

      • Main

        public Main()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException,
                                ej.kf.InvalidFormatException
        Simple main.
        Parameters:
        args - command line arguments
        Throws:
        java.io.IOException - in case of an IO error
        ej.kf.InvalidFormatException - in case a @link ej.kf.Feature stored on the storage has an invalid content
      • registerConverters

        protected static void registerConverters()
        Register Kernel converters.

        If overriding this method, sub-classes MUST this implementation.

        See Also:
        Kernel.addConverter(ej.kf.Converter)