public class ThrowingPrintWriter
extends java.io.Writer
| Constructor and Description |
|---|
ThrowingPrintWriter(java.io.Writer out)
Construct a JGitPrintWriter
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
format(java.lang.String fmt,
java.lang.Object... args)
Print a formatted message according to
String.format(String, Object...). |
void |
print(char value)
Print a char
|
void |
print(int value)
Print an int as string
|
void |
print(long value)
Print a long as string
|
void |
print(java.lang.Object any)
Print an object's toString representations
|
void |
print(short value)
Print a short as string
|
void |
println()
Print a platform dependent new line
|
void |
println(java.lang.String s)
Print a string and terminate with a line feed.
|
void |
write(char[] cbuf,
int off,
int len) |
public ThrowingPrintWriter(java.io.Writer out)
out - the underlying Writerpublic void write(char[] cbuf,
int off,
int len)
throws java.io.IOException
write in class java.io.Writerjava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.Writerjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.Writerjava.io.IOExceptionpublic void println(java.lang.String s)
throws java.io.IOException
s - java.io.IOExceptionpublic void println()
throws java.io.IOException
java.io.IOExceptionpublic void print(char value)
throws java.io.IOException
value - java.io.IOExceptionpublic void print(int value)
throws java.io.IOException
value - java.io.IOExceptionpublic void print(long value)
throws java.io.IOException
value - java.io.IOExceptionpublic void print(short value)
throws java.io.IOException
value - java.io.IOExceptionpublic void format(java.lang.String fmt,
java.lang.Object... args)
throws java.io.IOException
String.format(String, Object...).fmt - args - java.io.IOExceptionpublic void print(java.lang.Object any)
throws java.io.IOException
any - java.io.IOExceptionCopyright © 2013. All Rights Reserved.