NVelocity.IO
Class VelocityWriter

Field Summary
bool autoFlush
int bufferSize
int DEFAULT_BUFFER
int NO_BUFFER
int UNBOUNDED_BUFFER

Fields inherited from class System.IO.TextWriter
CoreNewLine

Constructor Summary
VelocityWriter(System.IO.TextWriter writer)
VelocityWriter(System.IO.TextWriter writer, int sz, bool autoFlush)

Property Summary
System.Text.Encoding Encoding

Properties inherited from class System.IO.TextWriter
FormatProvider, NewLine

Method Summary
void clear()
void close()
void flush()
int getBufferSize()
int getRemaining()
bool isAutoFlush()
void recycle(System.IO.TextWriter writer)
void write(int c)
void write(char[] cbuf, int off, int len)
void write(char[] buf)
void write(string s, int off, int len)
void write(string s)

Methods inherited from class System.IO.TextWriter
Close, Dispose, Flush, IDisposable.Dispose, Write, Write, Write, Write, Write, Write, Write, Write, Write, Write, Write, Write, Write, Write, Write, Write, Write, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine

Methods inherited from class System.MarshalByRefObject
CreateObjRef, GetLifetimeService, InitializeLifetimeService

Methods inherited from class System.Object
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString


Field Detail

autoFlush

protected bool autoFlush


bufferSize

protected int bufferSize


DEFAULT_BUFFER

public int DEFAULT_BUFFER


NO_BUFFER

public int NO_BUFFER


UNBOUNDED_BUFFER

public int UNBOUNDED_BUFFER

Constructor Detail

VelocityWriter

public VelocityWriter(System.IO.TextWriter writer)


VelocityWriter

public VelocityWriter(System.IO.TextWriter writer,
                      int sz,
                      bool autoFlush)

Property Detail

Encoding

public System.Text.Encoding Encoding

Method Detail

clear

public void clear()


close

public void close()


flush

public void flush()


getBufferSize

public int getBufferSize()


getRemaining

public int getRemaining()


isAutoFlush

public bool isAutoFlush()


recycle

public void recycle(System.IO.TextWriter writer)


write

public void write(int c)


write

public void write(char[] cbuf,
                  int off,
                  int len)


write

public void write(char[] buf)


write

public void write(string s,
                  int off,
                  int len)


write

public void write(string s)