The public classes which constitute the JRIO interfaces are shown below:
Class | Use |
Record | Represents a record/block |
BufferOverflowException | This exception is triggered when records are being read whenever the record object provided by the user is too small to incorporate the data. |
RecordLockedException | This exception is triggered in shared update processing when a record that is locked by another application is accessed and the user has specified that the application should not wait for the lock to be granted. |
RecordNotLockedException | This exception is triggered in shared update processing when an attempt is made to access a record using a method that requires the record to be locked first but the lock does not yet exist or no longer exists. |
RecordFile | Represents a file with record/block structure (see java.io.File). |
RecordFileFilter | Interface for implementing user-specific classes which can be used as filters in the listFiles() method of the RecordFile class (see java.io.FileFilter). |
RecordFilenameFilter | Interface for implementing user-specific classes which can be used as filters in the list() method of the RecordFile class (see java.io.FilenameFilter). |
AccessParameter | Represents the general parameters which are required for access to a file with record/block structure when using a particular access method. |
DMS/AccessParameterSAM | Represents a selection of parameters which are required for access to a file (in particular generation) using the SAM access method in DMS. |
DMS/AccessParameterISAM | Represents a selection of parameters which are required for access to a file (in particular generation) using the ISAM access method in DMS. |
DMS/AccessParameterUPAM | Represents a selection of parameters which are required for access to a file (in particular generation) using the UPAM access method in DMS. |
DMS/FilePermission | Permits the fine-grained granting of access permissions for files and directories in the DMS file system. This class is normally used only in the context of entries in the policy file. |
InputRecordStream | Abstract base class for FileInputRecordStream and ArrayInputRecordStream and user-implemented input classes (see java.io.InputStream). |
ArrayInputRecordStream | Class for sequential reading of records from an array of records (see java.io.ByteArrayInputStream). |
FileInputRecordStream | Represents a file with record/block structure that is open for sequential reading (see java.io.FileInputStream). |
OutputRecordStream | Abstract base class for FileOutputRecordStream and ArrayOutputRecordStream and user-implemented output classes (see java.io.OutputStream). |
ArrayOutputRecordStream | Class for sequential writing of records to an array of records (see java.io.ByteArrayOutputStream). |
FileOutputRecordStream | Represents a file with record/block structure that is open for sequential writing (see java.io.FileOutputStream). |
RandomAccessRecordFile | Represents a file with record/block structure that is open for random access (see java.io.RandomAccessFile). |
KeyedAccessRecordFile | Represents a file with record/block structure that is open for keyed access. |
KeyDescriptor | Describes a record key of an indexed-sequential file. |
DMS/PrimaryKeyDescriptorISAM | Describes the primary key of an ISAM file. |
DMS/SecondaryKeyDescriptorISAM | Describes a secondary key of an ISAM file. |
KeyValue | Represents the concrete value of a record key. |
Table 2: Public classes which constitute the JRIO interfaces
The sections below describe the most important of the classes from the JRIO package which are mentioned above, together with their principal and most common methods and fields. A complete description of the interfaces is contained in the javadoc documentation provided (please refer to the Installation directory under doc/jrio).