|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.bsd.x2svg.util.IOUtil
public abstract class IOUtil
A utility class that handles closing of I/O streams.
Constructor Summary | |
---|---|
IOUtil()
|
Method Summary | |
---|---|
static void |
close(java.io.InputStream in)
Handle closing of an InputStream |
static void |
close(java.io.OutputStream out)
Handle closing of an OutputStream |
static void |
close(java.io.Writer out)
Handle closing of a Writer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IOUtil()
Method Detail |
---|
public static void close(java.io.InputStream in)
InputStream instance.
- Parameters:
in
- The InputStream instance to close.
public static void close(java.io.OutputStream out)
OutputStream instance.
- Parameters:
out
- The OutputStream instance to close.
public static void close(java.io.Writer out)
Writer instance.
- Parameters:
out
- The Writer instance to close.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |