abstract public class BaseTextReader
Modifier and Type | Field |
---|---|
TextBuilder |
_output
|
String |
_newLineConstant
|
IntNumber |
_newLineLength
|
Modifier and Type | Method |
---|---|
String |
readLine()
|
WideString |
readWideLine()
|
abstract public class BaseTextWriter
Modifier and Type | Field |
---|---|
TextBuilder |
_buffer
|
String |
_newLineConstant
|
IntNumber |
_newLineLength
|
Modifier and Type | Method |
---|---|
|
write(String line)
|
|
write(WideString line)
|
|
writeLine(line)
|
|
writeLine()
|
abstract public class BinaryReader
Modifier and Type | Property |
---|---|
get abstract Object |
Source()
|
get abstract BoolValue |
Available()
|
Modifier and Type | Method |
---|---|
abstract IntNumber |
read(system'ByteNumber[] array, IntNumber length)
|
abstract |
close()
|
|
readExact(system'ByteNumber[] array, IntNumber length)
|
|
read(ref ByteNumber int)
|
|
read(ref ShortNumber int)
|
|
read(ref CharValue ch)
|
|
read(ref IntNumber int)
|
|
read(ref LongNumber long)
|
|
read(ref RealNumber real)
|
public class BinaryStreamReader
Modifier and Type | Field |
---|---|
Stream |
_stream
|
Modifier and Type | Constructor / Static Method |
---|---|
BinaryStreamReader |
constructor(Stream stream)
|
Modifier and Type | Method |
---|---|
IntNumber |
read(system'ByteNumber[] array, IntNumber actualLength)
|
|
close()
|
public class BinaryStreamWriter
Modifier and Type | Field |
---|---|
Stream |
_stream
|
Modifier and Type | Constructor / Static Method |
---|---|
BinaryStreamWriter |
constructor(Stream stream)
|
Modifier and Type | Property |
---|---|
get Object |
Source()
|
Modifier and Type | Method |
---|---|
|
close()
|
BoolValue |
write(system'ByteNumber[] array, IntNumber length)
|
abstract public class BinaryWriter
Modifier and Type | Property |
---|---|
get abstract Object |
Source()
|
Modifier and Type | Method |
---|---|
abstract |
close()
|
abstract BoolValue |
write(system'ByteNumber[] array, IntNumber length)
|
BoolValue |
write(ByteNumber int)
|
BoolValue |
write(ShortNumber n)
|
BoolValue |
write(CharValue ch)
|
BoolValue |
write(IntNumber int)
|
BoolValue |
write(LongNumber long)
|
BoolValue |
write(RealNumber r)
|
BoolValue |
write(String s)
|
public class ConsoleReader
Modifier and Type | Field |
---|---|
Handle |
h
|
Modifier and Type | Constructor / Static Method |
---|---|
ConsoleReader |
constructor(Handle h)
|
Modifier and Type | Property |
---|---|
get BoolValue |
KeyAvailable()
|
Modifier and Type | Method |
---|---|
String |
readLine()
|
WideString |
readWideLine()
|
CharValue |
read()
|
public class ConsoleWriter
Modifier and Type | Field |
---|---|
Handle |
h
|
Modifier and Type | Constructor / Static Method |
---|---|
ConsoleWriter |
constructor(Handle h)
|
Modifier and Type | Method |
---|---|
|
write(WideString s)
|
|
write(String s)
|
|
clear()
|
|
setCursorPosition(IntNumber x, IntNumber y)
|
|
refresh()
|
public class Directory
Modifier and Type | Field |
---|---|
String |
_path
|
Modifier and Type | Constructor / Static Method |
---|---|
system'String[] |
getFiles(String path)
|
system'String[] |
getFiles(String path, String mask)
|
Directory |
assign(String path)
|
Modifier and Type | Property |
---|---|
get BoolValue |
Available()
|
Modifier and Type | Method |
---|---|
system'String[] |
getFiles()
|
system'String[] |
getFiles(String mask)
|
|
create()
|
|
delete()
|
public class File
Modifier and Type | Field |
---|---|
String |
_path
|
Modifier and Type | Constructor / Static Method |
---|---|
|
saveContent(String path, String content)
|
|
saveContent(String path, String content, Encoder encoder)
|
|
readContentTo(String path, TextBuilder output)
|
String |
readContent(String path)
|
WideString |
readWideContent(String path)
|
File |
assign(String path)
|
Modifier and Type | Conversion Method |
---|---|
String |
cast()
|
WideString |
cast()
|
Modifier and Type | Method |
---|---|
TextReader |
textreader()
|
TextWriter |
textwriter()
|
TextWriter |
logger()
|
|
saveContent(String content)
|
String |
readContent()
|
WideString |
readWideContent()
|
|
delete()
|
public class FileEnumerator
Modifier and Type | Field |
---|---|
WIN32_FIND_DATA |
ffd
|
Handle |
hFind
|
BoolValue |
open
|
WideString |
mask
|
Modifier and Type | Constructor / Static Method |
---|---|
FileEnumerator |
assign(String mask)
|
Modifier and Type | Property |
---|---|
get WIN32_FIND_DATA |
Value()
|
Modifier and Type | Conversion Method |
---|---|
Enumerator |
cast()
|
Modifier and Type | Method |
---|---|
BoolValue |
next()
|
|
reset()
|
|
enumerable()
|
public class FileStream
Modifier and Type | Field |
---|---|
Handle |
_handle
|
Modifier and Type | Constructor / Static Method |
---|---|
FileStream |
openForRead(path)
|
FileStream |
openForReWrite(path)
|
FileStream |
openForAppend(path)
|
FileStream |
openForEdit(path)
|
FileStream |
new(WideString path, IntNumber dwDesiredAccess, IntNumber dwShareMode, IntNumber dwCreationDisposition, IntNumber dwFlagsAndAttributes)
|
Modifier and Type | Property |
---|---|
get IntNumber |
Length()
|
set |
Length(IntNumber length)
|
get IntNumber |
Index()
|
set |
Index(IntNumber index)
|
Modifier and Type | Method |
---|---|
IntNumber |
read(system'ByteNumber[] dump, IntNumber len)
|
|
write(system'ByteNumber[] dump, IntNumber length)
|
|
close()
|
public class IOException
Modifier and Type | Constructor / Static Method |
---|---|
IOException |
new()
|
IOException |
new(String message)
|
public class MemoryBuffer
Modifier and Type | Field |
---|---|
system'ByteNumber[] |
_buffer
|
Reference<system'IntNumber> |
_used
|
Reference<system'IntNumber> |
_capacity
|
Modifier and Type | Constructor / Static Method |
---|---|
MemoryBuffer |
allocate()
|
MemoryBuffer |
allocate(IntNumber length)
|
Modifier and Type | Property |
---|---|
get system'ByteNumber[] |
Value()
|
get IntNumber |
Length()
|
Modifier and Type | Method |
---|---|
|
write(IntNumber index, IntNumber length, system'ByteNumber[] array)
|
IntNumber |
readInt32(IntNumber index)
|
|
read(IntNumber index, IntNumber length, system'ByteNumber[] array)
|
|
delete(IntNumber index, IntNumber length)
|
|
clear()
|
public class MemoryStream
Modifier and Type | Field |
---|---|
MemoryBuffer |
_buffer
|
Reference<system'IntNumber> |
_position
|
Modifier and Type | Constructor / Static Method |
---|---|
MemoryStream |
constructor()
|
MemoryStream |
constructor(MemoryBuffer buffer)
|
MemoryStream |
load(IntNumber index, IntNumber length, system'ByteNumber[] array)
|
Modifier and Type | Property |
---|---|
get IntNumber |
Length()
|
set |
Length(IntNumber length)
|
get IntNumber |
Index()
|
set |
Index(IntNumber index)
|
Modifier and Type | Method |
---|---|
IntNumber |
read(system'ByteNumber[] dump, IntNumber len)
|
|
write(system'ByteNumber[] dump, IntNumber length)
|
|
close()
|
public singleton SearchDirectories
Modifier and Type | Method |
---|---|
|
function(String path, String mask, List<system'String> output)
|
public singleton SearchFiles
Modifier and Type | Method |
---|---|
|
function(String path, String mask, List<system'String> output)
|
abstract public class Stream
Modifier and Type | Property |
---|---|
get abstract IntNumber |
Length()
|
set abstract |
Length(IntNumber retVal)
|
get abstract IntNumber |
Index()
|
set abstract |
Index(IntNumber retVal)
|
Modifier and Type | Method |
---|---|
|
appendIndex(IntNumber offs)
|
|
reduceIndex(IntNumber offs)
|
abstract IntNumber |
read(system'ByteNumber[] dump, IntNumber length)
|
abstract |
write(system'ByteNumber[] dump, IntNumber length)
|
abstract |
close()
|
public class StreamWriter
Modifier and Type | Field |
---|---|
TextBuilder |
_buffer
|
String |
_newLineConstant
|
IntNumber |
_newLineLength
|
Stream |
_stream
|
Encoder |
_encoder
|
Modifier and Type | Constructor / Static Method |
---|---|
StreamWriter |
new(Stream stream, Encoder encoder)
|
StreamWriter |
new(path)
|
StreamWriter |
new(Object path, Encoder encoder)
|
Modifier and Type | Method |
---|---|
|
close()
|
|
write(system'CharValue[] input, IntNumber length)
|
abstract public class TextReader
Modifier and Type | Property |
---|---|
get abstract Object |
Source()
|
get abstract Encoder |
Encoder()
|
get abstract BoolValue |
Available()
|
Modifier and Type | Method |
---|---|
abstract IntNumber |
read(system'CharValue[] array, IntNumber length)
|
abstract |
close()
|
abstract String |
readLine()
|
abstract WideString |
readWideLine()
|
public class TextStreamReader
Modifier and Type | Field |
---|---|
TextBuilder |
_output
|
String |
_newLineConstant
|
IntNumber |
_newLineLength
|
Stream |
_stream
|
Encoder |
_encoder
|
BoolValue |
_open
|
Modifier and Type | Constructor / Static Method |
---|---|
TextStreamReader |
new(Stream stream, Encoder encoder)
|
TextStreamReader |
new(path)
|
TextStreamReader |
new(String path, Encoder encoder)
|
Modifier and Type | Property |
---|---|
get Object |
Source()
|
get Encoder |
Encoder()
|
get BoolValue |
Available()
|
Modifier and Type | Method |
---|---|
IntNumber |
read(system'CharValue[] output, IntNumber length)
|
|
close()
|
abstract public class TextWriter
Modifier and Type | Property |
---|---|
get abstract Object |
Source()
|
get abstract Encoder |
Encoder()
|
Modifier and Type | Method |
---|---|
|
write(object)
|
abstract |
close()
|
abstract |
write(system'CharValue[] array, IntNumber length)
|
abstract |
write(String line)
|
abstract |
write(WideString line)
|
abstract |
writeLine(line)
|
abstract |
writeLine()
|