|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.itextpdf.text.io.StreamUtil
public final class StreamUtil
Utility class with commonly used stream operations
| Method Summary | |
|---|---|
static void |
CopyBytes(RandomAccessSource source,
long start,
long length,
java.io.OutputStream outs)
|
static byte[] |
inputStreamToArray(java.io.InputStream is)
Reads the full content of a stream and returns them in a byte array |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static byte[] inputStreamToArray(java.io.InputStream is)
throws java.io.IOException
is - the stream to read
java.io.IOException - if there is a problem reading from the input stream
public static void CopyBytes(RandomAccessSource source,
long start,
long length,
java.io.OutputStream outs)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||