Package org.apache.batik.apps.svgpp
Class Main
java.lang.Object
org.apache.batik.apps.svgpp.Main
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 $
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected class
To handle the '-doctype' option.protected class
To handle the '-doc-width' option.protected class
To handle the '-newline' option.protected class
To handle the '-no-format' option.protected static interface
This interface represents an option handler.protected class
To handle the '-public-id' option.protected class
To handle the '-system-id' option.protected class
To handle the '-tab-width' option.protected class
To handle the '-xml-decl' option. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String[]
The arguments.static final String
The default resource bundle base name.protected Map
The option handlers.protected int
The current index.protected static LocalizableSupport
The localizable support.protected Transcoder
The transcoder. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
The application main method.protected void
Prints the command header.protected void
Prints the command usage.void
run()
Runs the pretty printer.
-
Field Details
-
BUNDLE_CLASSNAME
The default resource bundle base name.- See Also:
-
localizableSupport
The localizable support. -
arguments
The arguments. -
index
protected int indexThe current index. -
handlers
The option handlers. -
transcoder
The transcoder.
-
-
Constructor Details
-
Main
Initializes the application.- Parameters:
args
- The command-line arguments.
-
-
Method Details
-
main
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.
-