| java.lang.Object java.io.Writer java.io.PrintWriter org.apache.derby.impl.services.stream.BasicHeaderPrintWriter
BasicHeaderPrintWriter | class BasicHeaderPrintWriter extends PrintWriter implements HeaderPrintWriter(Code) | | Basic class to print lines with headers.
STUB: Should include code to emit a new line before a header
which is not the first thing on the line.
|
BasicHeaderPrintWriter | BasicHeaderPrintWriter(Writer writeTo, PrintWriterGetHeader headerGetter, boolean canClose, String writerName)(Code) | | the constructor sets up the HeaderPrintWriter.
Parameters: writeTo - Where to write to. Parameters: headerGetter - Object to get headers for output lines. Parameters: canClose - If true, BasicHeaderPrintWriter.complete will also close writeTo Parameters: writerName - Name of writeTo, e.g. a file name See Also: PrintWriterGetHeader |
complete | void complete()(Code) | | Flushes stream, and optionally also closes it if constructed
with canClose equal to true.
|
printlnWithHeader | public synchronized void printlnWithHeader(String message)(Code) | | |
Methods inherited from java.io.PrintWriter | public PrintWriter append(CharSequence csq)(Code)(Java Doc) public PrintWriter append(CharSequence csq, int start, int end)(Code)(Java Doc) public PrintWriter append(char c)(Code)(Java Doc) public boolean checkError()(Code)(Java Doc) protected void clearError()(Code)(Java Doc) public void close()(Code)(Java Doc) public void flush()(Code)(Java Doc) public PrintWriter format(String format, Object... args)(Code)(Java Doc) public PrintWriter format(Locale l, String format, Object... args)(Code)(Java Doc) public void print(boolean b)(Code)(Java Doc) public void print(char c)(Code)(Java Doc) public void print(int i)(Code)(Java Doc) public void print(long l)(Code)(Java Doc) public void print(float f)(Code)(Java Doc) public void print(double d)(Code)(Java Doc) public void print(char s)(Code)(Java Doc) public void print(String s)(Code)(Java Doc) public void print(Object obj)(Code)(Java Doc) public PrintWriter printf(String format, Object... args)(Code)(Java Doc) public PrintWriter printf(Locale l, String format, Object... args)(Code)(Java Doc) public void println()(Code)(Java Doc) public void println(boolean x)(Code)(Java Doc) public void println(char x)(Code)(Java Doc) public void println(int x)(Code)(Java Doc) public void println(long x)(Code)(Java Doc) public void println(float x)(Code)(Java Doc) public void println(double x)(Code)(Java Doc) public void println(char x)(Code)(Java Doc) public void println(String x)(Code)(Java Doc) public void println(Object x)(Code)(Java Doc) protected void setError()(Code)(Java Doc) public void write(int c)(Code)(Java Doc) public void write(char buf, int off, int len)(Code)(Java Doc) public void write(char buf)(Code)(Java Doc) public void write(String s, int off, int len)(Code)(Java Doc) public void write(String s)(Code)(Java Doc)
|
|
|