Class Main


  • public class Main
    extends java.lang.Object
    This class is the main class of the svgpp application.

    svgpp is a pretty-printer for SVG source files.

    Version:
    $Id: Main.java 1831635 2018-05-15 13:33:47Z ssteiner $
    • Constructor Summary

      Constructors 
      Constructor Description
      Main​(java.lang.String[] args)
      Initializes the application.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      The application main method.
      protected void printHeader()
      Prints the command header.
      protected void printUsage()
      Prints the command usage.
      void run()
      Runs the pretty printer.
      • Methods inherited from class java.lang.Object

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

      • BUNDLE_CLASSNAME

        public static final java.lang.String BUNDLE_CLASSNAME
        The default resource bundle base name.
        See Also:
        Constant Field Values
      • localizableSupport

        protected static LocalizableSupport localizableSupport
        The localizable support.
      • arguments

        protected java.lang.String[] arguments
        The arguments.
      • index

        protected int index
        The current index.
      • handlers

        protected java.util.Map handlers
        The option handlers.
      • transcoder

        protected Transcoder transcoder
        The transcoder.
    • Constructor Detail

      • Main

        public Main​(java.lang.String[] args)
        Initializes the application.
        Parameters:
        args - The command-line arguments.
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        The application main method.
        Parameters:
        args - The command-line arguments.
      • run

        public void run()
        Runs the pretty printer.
      • printUsage

        protected void printUsage()
        Prints the command usage.
      • printHeader

        protected void printHeader()
        Prints the command header.