Package org.jastacry

Class JaStaCry


  • public final class JaStaCry
    extends java.lang.Object
    Main JaStaCry class to start.

    SPDX-License-Identifier: MIT

    Author:
    Kai Kretschmann
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getText​(java.lang.String key)
      Helper function to get translated text from bundle.
      static void main​(java.lang.String[] args)
      Main class for running a command line interface.
      static int mainMethod​(java.lang.String... args)
      Main method.
      • Methods inherited from class java.lang.Object

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

      • main

        public static void main​(java.lang.String[] args)
        Main class for running a command line interface.
        Parameters:
        args - parsed by Apache commons CLI package
      • mainMethod

        public static int mainMethod​(java.lang.String... args)
        Main method.
        Parameters:
        args - for parsing
        Returns:
        int result code
      • getText

        public static java.lang.String getText​(java.lang.String key)
        Helper function to get translated text from bundle.
        Parameters:
        key - String key for value
        Returns:
        String as translation