|
barcode4j 2.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.krysalis.barcode4j.tools.IOUtil
public class IOUtil
Utility functions for I/O operations.
| Constructor Summary | |
|---|---|
IOUtil()
|
|
| Method Summary | |
|---|---|
static void |
closeQuietly(java.io.InputStream in)
Closes an InputStream. |
static void |
closeQuietly(java.io.Reader reader)
Closes a Reader. |
static void |
copy(java.io.InputStream in,
java.io.OutputStream out)
Copies the contents of an InputStream to an OutputStream. |
| 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 copy(java.io.InputStream in,
java.io.OutputStream out)
throws java.io.IOException
in - the input streamout - the output stream
java.io.IOException - if an I/O error occurspublic static void closeQuietly(java.io.InputStream in)
InputStream. It ignores any exceptions happening while closing the
stream.
in - the input streampublic static void closeQuietly(java.io.Reader reader)
Reader. It ignores any exceptions happening while closing the
stream.
reader - the reader
|
barcode4j 2.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||