2022.1

Table Of Contents
Method Description
close() Closes the stream and releases resources.
open(inStream,
inEncoding)
Creates a reader from an input stream.
Parameters:
l inStream: the input stream to read
l inEncoding: the encoding to use when reading the file
open(inFileName,
inEncoding)
Creates a reader on the specified file.
Parameters:
l inFilename: the path of the file to read
l inEncoding: the encoding to use when reading the file
parseCharset
(inEncoding)
Returns a character set (Charset). Character sets are used to convert
a binary data file into readable text.
Parameters:
l inEncoding: the encoding to use (e.g. ISO-8859-1, UTF-8)
read() Reads and returns the next character, or -1 if the end of the stream
has been reached.
readLine() Reads and returns the next line, or null if the end of the stream has
been reached.
skip(offset) Skips the specified number of characters.
Parameters:
l offset: the number of characters to skip
openTextWriter()
This function opens a file as a text file for writing purposes. The function returns a "TextWriter"
on the next page object. This must be closed at the end.
Page 472