public class Main extends 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 String[] |
arguments
The arguments.
|
static String |
BUNDLE_CLASSNAME
The default resource bundle base name.
|
protected 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(String[] args)
Initializes the application.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(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 String BUNDLE_CLASSNAME
protected static LocalizableSupport localizableSupport
protected String[] arguments
protected int index
protected Map handlers
protected Transcoder transcoder
public Main(String[] args)
args
- The command-line arguments.public static void main(String[] args)
args
- The command-line arguments.public void run()
protected void printUsage()
protected void printHeader()
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.