public class Main
extends java.lang.Object
svgpp is a pretty-printer for SVG source files.
Modifier and Type | Class and Description |
---|---|
protected class |
Main.DoctypeHandler
To handle the '-doctype' option.
|
protected class |
Main.DocWidthHandler
To handle the '-doc-width' option.
|
protected class |
Main.NewlineHandler
To handle the '-newline' option.
|
protected class |
Main.NoFormatHandler
To handle the '-no-format' option.
|
protected static interface |
Main.OptionHandler
This interface represents an option handler.
|
protected class |
Main.PublicIdHandler
To handle the '-public-id' option.
|
protected class |
Main.SystemIdHandler
To handle the '-system-id' option.
|
protected class |
Main.TabWidthHandler
To handle the '-tab-width' option.
|
protected class |
Main.XMLDeclHandler
To handle the '-xml-decl' option.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String[] |
arguments
The arguments.
|
static java.lang.String |
BUNDLE_CLASSNAME
The default resource bundle base name.
|
protected java.util.Map |
handlers
The option handlers.
|
protected int |
index
The current index.
|
protected static LocalizableSupport |
localizableSupport
The localizable support.
|
protected Transcoder |
transcoder
The transcoder.
|
Constructor and Description |
---|
Main(java.lang.String[] args)
Initializes the application.
|
Modifier and Type | Method and 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.
|
public static final java.lang.String BUNDLE_CLASSNAME
protected static LocalizableSupport localizableSupport
protected java.lang.String[] arguments
protected int index
protected java.util.Map handlers
protected Transcoder transcoder
public Main(java.lang.String[] args)
args
- The command-line arguments.public static void main(java.lang.String[] args)
args
- The command-line arguments.public void run()
protected void printUsage()
protected void printHeader()
Copyright © 2022 Apache Software Foundation. All Rights Reserved.