public class ThrowingPrintWriter extends Writer
| Constructor and Description |
|---|
ThrowingPrintWriter(Writer out)
Construct a JGitPrintWriter
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
format(String fmt,
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(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(String s)
Print a string and terminate with a line feed.
|
void |
write(char[] cbuf,
int off,
int len) |
public void write(char[] cbuf,
int off,
int len)
throws IOException
write in class WriterIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class WriterIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class WriterIOExceptionpublic void println(String s) throws IOException
s - IOExceptionpublic void println()
throws IOException
IOExceptionpublic void print(char value)
throws IOException
value - IOExceptionpublic void print(int value)
throws IOException
value - IOExceptionpublic void print(long value)
throws IOException
value - IOExceptionpublic void print(short value)
throws IOException
value - IOExceptionpublic void format(String fmt, Object... args) throws IOException
String.format(String, Object...).fmt - args - IOExceptionpublic void print(Object any) throws IOException
any - IOExceptionCopyright © 2014. All rights reserved.