AsciiIo Class

Provides functionality for reading and writing ASCII files.

NoteNote

In most cases, you should use the TextIo Class for reading and writing files. For more information, see the Remarks section.



class AsciiIo extends CommaIo

Called

Method

Description

cancelTimeOut

Cancels a previous method call to the Object.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

Overridden. Closes the file, and then flushes the file buffers to disk. An AsciiIo object is usually finalized after its scope has ended. This method isn't usually called directly.

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

Overridden. Sets or retrieves the character that is used for the field delimiter of an input file represented by an AsciiIO object.

inRecordDelimiter

Overridden. Sets or retrieves the character that is used for the record delimiter of an input file represented by an AsciiIO object.

inRecordLength

Overridden. Sets or retrieves the record length for an input file.

new

Overridden. Creates an instance of the AsciiIo class.

notify

Releases the hold on an object that has called a wait method on this object. (Inherited from Object.)

notifyAll

Releases a lock on the object that was issued by a wait method on this object. (Inherited from Object.)

objectOnServer

Determines whether the object is on a server. (Inherited from Object.)

outFieldDelimiter

Overridden. Sets or retrieves the character that is used for the field delimiter of an output file represented by an AsciiIO object.

outRecordDelimiter

Overridden. Sets or retrieves the character used for the record delimiter of an output file that is represented by an AsciiIO object.

owner

Returns the instance that owns the object. (Inherited from Object.)

read

Overridden.

setTimeOut

Sets up the scheduled execution of a specified method. (Inherited from Object.)

status

Overridden. Returns the status of the last operation on the file.

toString

Returns a string that represents the current object. (Inherited from Object.)

usageCount

Returns the current number of references (the value of the reference counter) that the object has. (Inherited from Object.)

wait

Pauses a process. (Inherited from Object.)

write

Overridden.

writeChar

writeExp

Overridden.

writeRaw

xml

Returns an XML string that represents the current object. (Inherited from Object.)

The TextIo class provides functionality for reading and writing files that use a variety of code pages. AsciiIO supports only ANSI code page (ACP) characters.

Existing code that uses AsciiIO must be converted to use TextIO if the file contains non-ACP characters or if it is a file that is only used within Microsoft Dynamics AX (such as an .xpo file).

Community Additions

ADD
Show: