![Fujitsu J Adapter Class Generator Скачать руководство пользователя страница 83](http://html.mh-extra.com/html/fujitsu/j-adapter-class-generator/j-adapter-class-generator_user-manual_120083083.webp)
Chapter 7. Samples 83
Sample 2 – Specifying Method
Example 2: Example of generating an adapter class by
specifying constructor/method/field
This program description explains “Sample Program - Example 2” provided with this
product.
Example 2 shows how to generate the adapter class specifying
constructor/method/field.
Outline
The program contents are the same as example 1. However, example 2 generates
the adapter class specifying the Java constructor/method/field name used by the
program.
Distribution files
JADP02.TXT (program description)
JAVA2COB.MGT (generation name management file)
DATEMAIN.PRJ (project file)
DATEMAIN.CBI (compiler option file)
DATEMAIN.COB (COBOL source program)
DATE02JAVA.PRJ (project file)
DATE02JAVA.CBI (compiler option file)
DATE02JAVA2.PRJ (project file)
DATE02JAVA2.CBI (compiler option file)
COBOL functions used
Object-oriented programming functions
Object generation
Method invocation
Java classes and constructor/method/field used
java.lang.System class -- out field
java.io.PrintStream class -- println(java.lang.Object) method
java.util.Date class -- Date() constructor
Содержание J Adapter Class Generator
Страница 1: ...J Adapter Class Generator User s Guide ...
Страница 6: ...6 NetCOBOL J Adapter Class Generator User s Guide ...
Страница 16: ...16 Chapter 2 Adapter Class Generator Framework ...
Страница 17: ...Chapter 3 Developing Programs This chapter explains how to develop programs that use Java classes ...
Страница 80: ...80 Chapter 6 Messages ...