Package | Description |
---|---|
com.ibm.as400.access |
Provides classes that represent various IBM i data and resources.
|
com.ibm.as400.data |
Provides classes to simplify calling IBM i programs (RPG, COBOL, C, etc) from Java.
|
Modifier and Type | Method | Description |
---|---|---|
RecordFormat |
AS400File.getRecordFormat() |
Returns the record format of this file.
|
RecordFormat |
Record.getRecordFormat() |
Returns the record format for this record.
|
RecordFormat[] |
AS400FileRecordDescription.retrieveRecordFormat() |
Retrieves the file description for the file, and creates a RecordFormat
object for each record format, which can be used as input to the
AS400File.setRecordFormat()
method. |
Modifier and Type | Method | Description |
---|---|---|
void |
AS400File.create(RecordFormat recordFormat,
String textDescription) |
Creates a physical file using the specified record format.
|
void |
AS400File.create(RecordFormat recordFormat,
String textDescription,
String altSeq,
String ccsid,
String order,
String ref,
boolean unique,
String format,
String text) |
Creates a physical file using the specified record format and any specified
keywords.
|
void |
AS400File.setRecordFormat(RecordFormat recordFormat) |
Sets the record format to be used for this file.
|
void |
Record.setRecordFormat(RecordFormat recordFormat) |
Sets the record format for this record.
|
Constructor | Description |
---|---|
Record(RecordFormat recordFormat) |
Constructs a Record object.
|
Record(RecordFormat recordFormat,
byte[] contents) |
Constructs a Record object.
|
Record(RecordFormat recordFormat,
byte[] contents,
int offset) |
Constructs a Record object.
|
Record(RecordFormat recordFormat,
byte[] contents,
int offset,
String recordName) |
Constructs a Record object.
|
Record(RecordFormat recordFormat,
byte[] contents,
String recordName) |
Constructs a Record object.
|
Record(RecordFormat recordFormat,
String recordName) |
Constructs a Record object.
|
Modifier and Type | Method | Description |
---|---|---|
RecordFormat |
RecordFormatDocument.toRecordFormat(String formatName) |
Returns a RecordFormat object with the same structure as the specified
<recordformat> element. |
Constructor | Description |
---|---|
RecordFormatDocument(RecordFormat recordFormat) |
Constructs a RecordFormatDocument from a RecordFormat object.
|
Copyright © 2024. All rights reserved.