Class AbstractConsoleApp

    • Field Detail

      • err

        protected final java.io.PrintStream err
      • out

        protected final java.io.PrintStream out
    • Constructor Detail

      • AbstractConsoleApp

        public AbstractConsoleApp​(java.lang.Object target)
                           throws java.io.UnsupportedEncodingException
        Default constructor
        Throws:
        java.io.UnsupportedEncodingException
      • AbstractConsoleApp

        public AbstractConsoleApp()
                           throws java.io.UnsupportedEncodingException
        Throws:
        java.io.UnsupportedEncodingException
    • Method Detail

      • run

        public void run​(java.lang.String[] args)
                 throws java.lang.Exception
        Main entry
        Throws:
        java.lang.Exception
      • __main

        public void __main​(AbstractConsoleApp.MainOptions opts)
                    throws java.io.IOException
        Initialize the repository and other global vars.
        Parameters:
        opts - the options
        Throws:
        java.io.IOException