|
|||||||||||
| 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 Outc - char to writeOut.outc(int)public void outc(byte c)
Out
outc in interface Outc - byte to writeOut.outc(byte)public void newline()
Out
newline in interface OutOut.newline()public void close()
Out
close in interface OutOut.close()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||