|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.w3c.tidy.OutJavaImpl
public class OutJavaImpl
Output implementation using java writers.
Constructor Summary | |
---|---|
protected |
OutJavaImpl(Configuration configuration,
java.lang.String encoding,
java.io.OutputStream out)
Constructor. |
protected |
OutJavaImpl(Configuration configuration,
java.io.Writer out)
Constructor. |
Method Summary | |
---|---|
void |
flush()
Flush 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 |
Constructor Detail |
---|
protected 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.protected OutJavaImpl(Configuration configuration, java.io.Writer out)
configuration
- actual configuration instance (needed for newline configuration)out
- WriterMethod 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 flush()
Out
flush
in interface Out
Out.flush()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |