public class AppMapGenerator
extends java.lang.Object
This Class is a standalone Java application typically invoked as shown below in 'main'.
JSAFSMap
Modifier and Type | Field and Description |
---|---|
(package private) static java.lang.String |
_encodingArg |
(package private) static java.io.File |
_input |
(package private) static java.lang.String |
_inputArg |
(package private) static java.lang.String |
_inputRoot |
(package private) static java.io.File |
_output |
(package private) static java.lang.String |
_outputArg |
(package private) static java.lang.String |
_packageArg |
(package private) static java.lang.String |
ARG_ENCODING |
(package private) static java.lang.String |
ARG_IN |
(package private) static java.lang.String |
ARG_OUT |
(package private) static java.lang.String |
ARG_PACKAGE |
(package private) static java.lang.String |
GENERIC_OBJECT |
(package private) static java.lang.String |
HELP_OUT |
(package private) static INIFileReader |
reader |
(package private) static java.lang.String |
SEMICOLON |
(package private) static java.lang.String |
STRING_OBJECT |
(package private) static CaseInsensitiveHashtable |
types |
(package private) static java.io.BufferedWriter |
writer |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
java org.safs.model.tools.AppMapGenerator [args]
|
(package private) static void |
putItem(java.lang.String ProperName) |
(package private) static void |
writeln(java.lang.String line) |
static java.io.File _input
static java.lang.String _inputArg
static java.lang.String _inputRoot
static java.io.File _output
static java.lang.String _outputArg
static java.lang.String _packageArg
static java.lang.String _encodingArg
static java.io.BufferedWriter writer
static INIFileReader reader
static CaseInsensitiveHashtable types
static final java.lang.String ARG_IN
static final java.lang.String ARG_OUT
static final java.lang.String ARG_PACKAGE
static final java.lang.String ARG_ENCODING
static final java.lang.String HELP_OUT
static final java.lang.String GENERIC_OBJECT
static final java.lang.String STRING_OBJECT
static final java.lang.String SEMICOLON
static void putItem(java.lang.String ProperName)
static void writeln(java.lang.String line) throws java.io.IOException
java.io.IOException
public static void main(java.lang.String[] args)
args:
REQUIRED relative or absolute path to the SAFS App Map file to process.
Examples:
REQUIRED path to the directory in which to write the new Java Class file.
Example:
OPTIONAL package name to use for the output Java Class file. When not specified, no package name is written. The class is part of the nameless (default) Java package.
Example:
OPTIONAL character encoding used for the existing SAFS App Map. This argument is actually REQUIRED if the SAFS App Map is encoded in something other than the System default character encoding.
Examples:
Putting it all together for some sample invocations:
java org.safs.model.tools.AppMapGenerator -in "TIDTest.map" -out "c:/safs/datastorej/" java org.safs.model.tools.AppMapGenerator -in "TIDTest.map" -out "c:/safs/datastorej/" -encoding "UTF-8" java org.safs.model.tools.AppMapGenerator -in "c:/safs/project/datapool/tidtest.map" -out "c:/safs/datastorej" java org.safs.model.tools.AppMapGenerator -in "tidtest.map" -out "c:/safs/datastorej/org/safs/sample/" -package "org.safs.sample"
Copyright © SAS Institute. All Rights Reserved.