public static class LogArea.UTF8PrintStream extends PrintStream
out
Constructor and Description |
---|
UTF8PrintStream(OutputStream out) |
UTF8PrintStream(OutputStream out,
boolean autoFlush) |
Modifier and Type | Method and Description |
---|---|
void |
print(char[] s)
Overriden so it uses UTF-8 when converting a char[] to byte[]
|
void |
print(String s)
Overriden so it uses UTF-8 when converting a string to byte[]
|
append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write
write
public UTF8PrintStream(OutputStream out) throws UnsupportedEncodingException
UnsupportedEncodingException
public UTF8PrintStream(OutputStream out, boolean autoFlush) throws UnsupportedEncodingException
UnsupportedEncodingException
public void print(String s)
print
in class PrintStream
s
- the string to be printedpublic void print(char[] s)
print
in class PrintStream
s
- the string to be printedCopyright © 2024 GATE. All rights reserved.