AsciiIo Class
The AsciiIo class provides functionality for reading and writing ASCII files.
Syntax
class AsciiIo extends CommaIo
Run On
Called
Methods
Method | Description | |
---|---|---|
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
filePosition | (Inherited from CommaIo.) | |
finalize | Closes the file and then flushes the file buffers to disk. (Overrides the finalize Method.) | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
inFieldDelimiter | Sets or retrieves the character that is used as the field delimiter of an input file that is represented by an AsciiIO object. (Overrides the inFieldDelimiter Method.) | |
inRecordDelimiter | Sets or retrieves the character that is used as the record delimiter of an input file that is represented by an AsciiIO object. (Overrides the inRecordDelimiter Method.) | |
inRecordLength | Sets or retrieves the record length for an input file. (Overrides the inRecordLength Method.) | |
new | Creates an instance of the AsciiIo class. (Overrides the new Method.) | |
notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) | |
notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) | |
objectOnServer | Determines whether the object is on a server. (Inherited from Object.) | |
outFieldDelimiter | Sets or retrieves the character that is used as the field delimiter of an output file that is represented by an AsciiIO object. (Overrides the outFieldDelimiter Method.) | |
outRecordDelimiter | Sets or retrieves the character that is used as the record delimiter of an output file that is represented by an AsciiIO object. (Overrides the outRecordDelimiter Method.) | |
owner | Returns the instance that owns the object. (Inherited from Object.) | |
read | Reads the next full record from the Io object. (Overrides the read Method.) | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
status | Returns the status of the last operation on the file. (Overrides the status Method.) | |
toString | Returns a string that represents the current object. (Inherited from Object.) | |
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) | |
wait | Pauses a process. (Inherited from Object.) | |
write | Writes values of a simple type. (Overrides the write Method.) | |
writeChar | ||
writeExp | Writes the content of a container to a file. (Overrides the writeExp Method.) | |
writeRaw | ||
xml | Returns an XML string that represents the current object. (Inherited from Object.) |
Top
Remarks
The TextIo class provides functionality for reading and writing files that use various code pages. The AsciiIO class supports only ANSI code page (ACP) characters.
Existing code that uses the AsciiIO class must be converted to use the TextIO class if the file contains non-ACP characters, or if it is a file that is used only in Microsoft Dynamics AX, such as an .xpo file.
Inheritance Hierarchy
Object Class
Io Class
CommaIo Class
AsciiIo Class