Modifier | Constructor and Description |
---|---|
protected |
OutJavaImpl(Configuration configuration,
java.lang.String encoding,
java.io.OutputStream out)
Constructor.
|
protected |
OutJavaImpl(Configuration configuration,
java.io.Writer out)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
flush()
Flush the stream.
|
void |
newline()
writes a newline.
|
void |
outc(byte c)
writes a byte.
|
void |
outc(int c)
writes an char.
|
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 streamjava.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
- Writerpublic 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()
Copyright © 2000–2017 sourceforge. All rights reserved.