Class Main

java.lang.Object
org.apache.batik.apps.svgpp.Main

public class Main extends 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 $
  • Field Details

    • BUNDLE_CLASSNAME

      public static final String BUNDLE_CLASSNAME
      The default resource bundle base name.
      See Also:
    • localizableSupport

      protected static LocalizableSupport localizableSupport
      The localizable support.
    • arguments

      protected String[] arguments
      The arguments.
    • index

      protected int index
      The current index.
    • handlers

      protected Map handlers
      The option handlers.
    • transcoder

      protected Transcoder transcoder
      The transcoder.
  • Constructor Details

    • Main

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

    • main

      public static void main(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.