beautypg.com

Notes on describing the optional file, Class class-name/interface-name, Specification format – FUJITSU J Adapter Class Generator User Manual

Page 37: Specification contents, Meaning of the parameter, Option classpath

background image

Chapter 4. Using the Generator Command 37

Notes on describing the optional file:
• Clauses enclosed by square brackets can be omitted.
• Curly brackets indicate selection of clause that is delimited by ”| ”.
• Italic type indicates a variable character string.

Class class-name/interface-name

Specification format

Class

class-name/interface-name

[ =

constructor/method/field-specifying-

option

]

Specification contents
Specify the Java class name or interface name that generates an adapter class.
Also specify constructor/method/field specifying options when

constructor/method/fields are generated as an adapter class, for that

class-

name/interface-name

.

Meaning of the parameter

class-name/interface-name

Specifies a class name or interface name that is qualified by the package name.
When specifying an internal class name as the parameter type, specify dollar ($)

instead of period (.) of the internal class.

constructor/method/field-specifying-option

Specify a constructor/method/field using the format of -gc option, -gm option

and -gf option of the java2cob command.
The

constructor/method/field-specifying-option

is valid when the "Option

GenOnlyUsed" parameter specifies YES.
If

constructor/method/field-specifying-option

is not specified even though the

"Option GenOnlyUsed" parameter specifies YES, an adapter class without

constructor/method/field is generated.

Option ClassPath

Specification format

Option ClassPath =

class-path

Specification contents
Specify a search path of the Java class/interface. When specifying two or more

folders, delimit the folders using semi-colon (;).
When a blank is included in the class path, enclose the entire class path with double

quotation (").
When this option is specified, the environment variable CLASSPATH is ignored.