|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.w3c.tidy.OutJavaImpl
Output implementation using java writers.
Field Summary | |
private char[] |
newline
Newline string. |
private java.io.Writer |
writer
Java input stream writer. |
Constructor Summary | |
OutJavaImpl(Configuration configuration,
java.lang.String encoding,
java.io.OutputStream out)
Constructor. |
Method Summary | |
void |
close()
Flush and close the stream. |
void |
newline()
writes a newline. |
void |
outc(byte c)
writes a byte. |
void |
outc(int c)
writes an char. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.io.Writer writer
private char[] newline
Constructor Detail |
public OutJavaImpl(Configuration configuration, java.lang.String encoding, java.io.OutputStream out) throws java.io.UnsupportedEncodingException
configuration
- actual configuration instance (needed for newline configuration)encoding
- encoding nameout
- output stream
java.io.UnsupportedEncodingException
- if the undelining OutputStreamWriter doesn't support the rquested encoding.Method Detail |
public void outc(int c)
Out
outc
in interface Out
c
- char to writeOut.outc(int)
public void outc(byte c)
Out
outc
in interface Out
c
- byte to writeOut.outc(byte)
public void newline()
Out
newline
in interface Out
Out.newline()
public void close()
Out
close
in interface Out
Out.close()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |