|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openarchitectureware.workflow.util.InputStreamToByteArray
public class InputStreamToByteArray
This is a convenience class that completely reads an InputStream and dumps it to a byte array.
Field Summary | |
---|---|
static int |
DEFAULT_BUFFER_SIZE
|
Constructor Summary | |
---|---|
InputStreamToByteArray()
|
|
InputStreamToByteArray(int bufSize)
|
Method Summary | |
---|---|
byte[] |
read(java.io.InputStream is)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_BUFFER_SIZE
Constructor Detail |
---|
public InputStreamToByteArray()
public InputStreamToByteArray(int bufSize)
Method Detail |
---|
public byte[] read(java.io.InputStream is) throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |