Package org.w3c.tidy
Class OutJavaImpl
- java.lang.Object
-
- org.w3c.tidy.OutJavaImpl
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedOutJavaImpl(Configuration configuration, java.io.Writer out)Constructor.protectedOutJavaImpl(Configuration configuration, java.lang.String encoding, java.io.OutputStream out)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidflush()Flush the stream.voidnewline()writes a newline.voidoutc(byte c)writes a byte.voidoutc(int c)writes an char.
-
-
-
Constructor Detail
-
OutJavaImpl
protected OutJavaImpl(Configuration configuration, java.lang.String encoding, java.io.OutputStream out) throws java.io.UnsupportedEncodingException
Constructor.- Parameters:
configuration- actual configuration instance (needed for newline configuration)encoding- encoding nameout- output stream- Throws:
java.io.UnsupportedEncodingException- if the undelining OutputStreamWriter doesn't support the rquested encoding.
-
OutJavaImpl
protected OutJavaImpl(Configuration configuration, java.io.Writer out)
Constructor.- Parameters:
configuration- actual configuration instance (needed for newline configuration)out- Writer
-
-
Method Detail
-
outc
public void outc(int c)
Description copied from interface:Outwrites an char.- Specified by:
outcin interfaceOut- Parameters:
c- char to write- See Also:
Out.outc(int)
-
outc
public void outc(byte c)
Description copied from interface:Outwrites a byte.- Specified by:
outcin interfaceOut- Parameters:
c- byte to write- See Also:
Out.outc(byte)
-
newline
public void newline()
Description copied from interface:Outwrites a newline.- Specified by:
newlinein interfaceOut- See Also:
Out.newline()
-
flush
public void flush()
Description copied from interface:OutFlush the stream.- Specified by:
flushin interfaceOut- See Also:
Out.flush()
-
-