|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.Writer
org.eclipse.jgit.util.io.ThrowingPrintWriter
public class ThrowingPrintWriter
An alternative PrintWriter that doesn't catch exceptions.
Field Summary |
---|
Fields inherited from class java.io.Writer |
---|
lock |
Constructor Summary | |
---|---|
ThrowingPrintWriter(Writer out)
Construct a JGitPrintWriter |
Method Summary | |
---|---|
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)
|
Methods inherited from class java.io.Writer |
---|
append, append, append, write, write, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThrowingPrintWriter(Writer out)
out
- the underlying Writer
Method Detail |
---|
public void write(char[] cbuf, int off, int len) throws IOException
write
in class Writer
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class Writer
IOException
public void close() throws IOException
close
in interface Closeable
close
in class Writer
IOException
public void println(String s) throws IOException
s
-
IOException
public void println() throws IOException
IOException
public void print(char value) throws IOException
value
-
IOException
public void print(int value) throws IOException
value
-
IOException
public void print(long value) throws IOException
value
-
IOException
public void print(short value) throws IOException
value
-
IOException
public void format(String fmt, Object... args) throws IOException
String.format(String, Object...)
.
fmt
- args
-
IOException
public void print(Object any) throws IOException
any
-
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |