Io Class

The Io class serves as the base class for the format-specific Io classes, which are used to access external files.

Syntax

class Io extends Object

Run On

Called

Methods

  Method Description
Gg921456.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg921456.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg921456.pubmethod(en-us,AX.60).gif finalize Closes the file and, if data was written, flushes the file buffers to disk.
Gg921456.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg921456.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg921456.pubmethod(en-us,AX.60).gif inFieldDelimiter Determines the delimiter used to separate fields in records accessed by the *Io classes.
Gg921456.pubmethod(en-us,AX.60).gif inRecordDelimiter Determines to the *Io classes what character or characters to search for to determine whether a full record has been read.
Gg921456.pubmethod(en-us,AX.60).gif inRecordLength Gets or sets the number of characters to read for each record in a file.
Gg921456.pubmethod(en-us,AX.60).gif new Creates a new instance of the Io class. (Overrides the new Method.)
Gg921456.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg921456.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg921456.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg921456.pubmethod(en-us,AX.60).gif outFieldDelimiter Gets or sets the sequence of characters that are written to a file that is used to separate the fields of a record.
Gg921456.pubmethod(en-us,AX.60).gif outRecordDelimiter Gets or sets the sequence of characters that is written to the output files, which separate the records in the output files.
Gg921456.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg921456.pubmethod(en-us,AX.60).gif read Reads the next full record from the Io object.
Gg921456.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg921456.pubmethod(en-us,AX.60).gif status Retrieves the status of the last operation performed on the Io object.
Gg921456.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg921456.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg921456.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg921456.pubmethod(en-us,AX.60).gif write Writes values of a simple type.
Gg921456.pubmethod(en-us,AX.60).gif writeExp Writes the content of a container to the file.
Gg921456.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)

Top

Remarks

The basic Io class features no actual data I/O but works as base class for the format-specific Io classes. The methods that are common to all Io classes are described here. For format-specific features and behavior of the member functions, refer to the documentation for each of the I/O classes.

To support reading and writing of different formats of external files, MorphX features a range of different Io classes: for comma-separated files, for comma-separated 7 bit files, for binary files, and for plain-text files.

Inheritance Hierarchy

Object Class
  Io Class
    BinaryIo Class
    CommaIo Class
    CommaTextIo Class

See Also

AsciiIo Class

TextIo Class

BinaryIo Class

Comma7Io Class

CommaIo Class