The table below presents an overview of the Java classes present in the framework together with a brief description of the COBOL types for which the classes are used.
Java class |
Description |
|
Basic class for all conversion classes |
|
Basic class for COBOL structures |
|
For alphabetical/alphanumerical COBOL types: |
|
For national COBOL types: |
|
For positive, integer numerical COBOL types: |
|
For integer numerical COBOL types: |
|
For COBOL types for which Cobol2Java offers no special data conversion classes. The data is made available in the Java program without conversion as a byte array. |
The directory api-doc
contains the documentation for these classes.
The table below indicates the support provided for the various COBOL types and clauses:
COBOL clause |
Java support |
Data structures with level numbers |
|
Pic X (n) (alphanumerical) |
|
Combinations of A, X, 9 (not only 9) |
|
Pic 9 (n) (numerical) |
|
Pic N (n) (national) |
|
|
|
|
Not supported. |
Alphanumerical, ready for printing |
Mapped to |
Numerical, ready for printing |
Not supported. Mapped to |
|
Not supported. Mapped to |
|
Not supported. |
|
Not supported. |
|
|
|
Supported. |
Level number 77 |
Supported. |
|
Limited support.
|
|
Supported. |
|
Supported. |