Fujitsu J Adapter Class Generator Portable Generator User Manual


 
Chapter 4. Using the Generator Command 41
Option Terminal
Specification format
Option Terminal = { YES | NO }
Specification contents
Specify whether or not to generate an adapter class allowed to set end character
strings, for the method that has string-type fields and string-type parameters.
(Refer to "End control of character string.")
If omitted, it is assumed that NO is specified.
Meaning of the parameter
YES
Generate an adapter class in which the end character string setting is made.
NO
Does not generate an adapter class in which the end character string setting is
made.
Example
When creating only an adapter class that is related to the println (Object) method of
the java.io.PrintStream class or related to the Date ( ) constructor of the
java.util.Date class, specify as follows.
Option GenOnlyUsed = YES
Class java.io.PrintStream = -gm "println(java.lang.Object)"
Class java.util.Date = -gc "Date()"
Notes
When two or more parameter of the same type are specified, the parameter that
is specified last becomes valid. But the parameters of "Class
class-
name/interface-name
" become valid respectively.
The line in which "#" is described in the first column is ignored as the comment
line.
The line in which "\" is described as the end of the line is continued on to the
next line.