Fujitsu J Adapter Class Generator Portable Generator User Manual


 
36 Chapter 4. Using the Generator Command
Optional File
The optional file is a text format file used to define generator options in a file instead
of on the command line. The optional file is specified in a command line of the
java2cob command.
For example, specifying the many method names, etc. in the command line every
time is troublesome during the specification of the constructor/method/field. It can
be more readily and accurately accomplished by creating the optional file. (Refer to
the paragraph "
When the optional file is specified
" of command syntax.)
Format
The parameters that can be placed in an optional file, are as follows:
Parameter name Explanation Note
Class c
lass-
name/interface-name
Specify a class name or interface name of Java
that generates the adapter class. If necessary,
specify the constructor/method/field generated as
an adapter class.
Omission is not allowed.
Multiple settings are
allowed.
Option ClassPath Specify a search path of the Java class/interface. Omission is allowed.
Multiple setting is not
allowed.
Option Code Specify a code system during execution time. Omission is allowed.
Multiple setting is not
allowed.
Option
CommandOptions
Specify directly options of the java2cob
command.
Omission is allowed.
Multiple setting is not
allowed.
Option GenOnlyUsed Specify whether or not to specify a
constructor/method/field generated as an adapter
class.
Omission is allowed.
Multiple setting is not
allowed.
Option MethodTable Specify whether or not to output the method
name cross-reference list file.
Omission is allowed.
Multiple setting is not
allowed.
Option OutPutPath Specify a folder to output the source of the
adapter class.
Omission is allowed.
Multiple setting is not
allowed.
Option OverWrite Specify to overwrite an existing adapter class or
not to overwrite it when an adapter class of the
same name already exists.
Omission is allowed.
Multiple setting is not
allowed.
Option ReduceClass Specify whether or not to reduce the number of
adapter classes.
Omission is allowed.
Multiple setting is not
allowed.
Option String Specify whether or not to generate an adapter
class in which the java.lang.String type is mapped
into alphanumeric item.
Omission is allowed.
Multiple setting is not
allowed.
Option Terminal Specify whether or not to generates an adapter
class in which the end character string setting is
made, for the method that has the parameter of
String type field and the String type.
Omission is allowed.
Multiple setting is not
allowed.