Package com.microej.kernel.green
Class Main
- java.lang.Object
-
- com.microej.kernel.green.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.
-
-
-
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 errorej.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)
-
-