OutputLineStream

Text file writer which supports different text file formats

Constructors

this
this(OutputStream stream, string filename, TextFileFormat format)

create

Members

Functions

close
void close()

close stream

convertAndWrite
void convertAndWrite(dstring s)

convert character encoding and write to output stream

flush
void flush()
Undocumented in source. Be warned that the author may not have intended to support it.
writeLine
void writeLine(dstring line)

write single line

Static variables

MAX_BUFFER_SIZE
int MAX_BUFFER_SIZE;
Undocumented in source.

Variables

_buf
char[] _buf;
Undocumented in source.
_filename
string _filename;
Undocumented in source.
_firstLine
bool _firstLine;
Undocumented in source.
_format
TextFileFormat _format;
Undocumented in source.
_len
int _len;
Undocumented in source.
_stream
OutputStream _stream;
Undocumented in source.

Meta