|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
java.io.PrintStream
org.apache.uima.internal.util.EncodedPrintStream
public class EncodedPrintStream
Allow a PrintStream to specify an encoding.
This functionality is provided out of the box by the Java 1.4 version of PrintStream.
This class is strictly for backwards compatibility.
| Field Summary |
|---|
| Fields inherited from class java.io.FilterOutputStream |
|---|
out |
| Constructor Summary | |
|---|---|
EncodedPrintStream(java.io.OutputStream out,
boolean autoFlush,
java.lang.String encoding)
Constructor allows specifying a character encoding. |
|
EncodedPrintStream(java.io.OutputStream out,
java.lang.String encoding)
Constructor allows specifying a character encoding. |
|
| Method Summary | |
|---|---|
void |
print(char c)
|
void |
print(char[] s)
|
void |
print(java.lang.String s)
|
void |
println(char x)
|
void |
println(char[] x)
|
void |
println(java.lang.String x)
|
| Methods inherited from class java.io.PrintStream |
|---|
append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, setError, write, write |
| Methods inherited from class java.io.FilterOutputStream |
|---|
write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EncodedPrintStream(java.io.OutputStream out,
java.lang.String encoding)
throws java.io.UnsupportedEncodingException
Does not automatically flush the underlying output stream.
out - The underlying output stream.encoding - String representation of a character encoding.
java.io.UnsupportedEncodingException - If the character encoding is not supported by the JVM.
public EncodedPrintStream(java.io.OutputStream out,
boolean autoFlush,
java.lang.String encoding)
throws java.io.UnsupportedEncodingException
out - The underlying output stream.autoFlush - See PrintStream()encoding - String representation of a character encoding.
java.io.UnsupportedEncodingException - If the character encoding is not supported by the JVM.| Method Detail |
|---|
public void print(char c)
print in class java.io.PrintStreampublic void print(char[] s)
print in class java.io.PrintStreampublic void print(java.lang.String s)
print in class java.io.PrintStreampublic void println(char x)
println in class java.io.PrintStreampublic void println(char[] x)
println in class java.io.PrintStreampublic void println(java.lang.String x)
println in class java.io.PrintStream
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||