Top
NetCOBOL V11.0 J Adapter Class GeneratorUser's Guide
FUJITSU Software

5.6 java-lang-String class

Like other classes, the java.lang.String class is mapped to the java-lang-String class. However, the java-lang-String class has the following methods for referencing or setting character string data, in addition to the methods defined in the java.lang.String class:

Method name

Type

Function

NEW-STRING-X

Factory

Generates a String object having the specified alphanumeric data item as the initial value.

NEW-STRING-N

Factory

Generates a String object having the specified national data item as the initial value.

GET-STRING-X

Object

Fetches the character string as an alphanumeric data item.

GET-STRING-N

Object

Fetches the character string as a national data item.

GET-STRING-LENGTH-X

Object

Determines alphanumeric data item length.

GET-STRING-LENGTH-N

Object

Determines national data item length.