|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.outerj.daisy.repository.PartHelper
public class PartHelper
Constructor Summary | |
---|---|
PartHelper()
|
Method Summary | |
---|---|
static byte[] |
streamToByteArrayAndClose(java.io.InputStream is,
int sizeHint)
Reads an inputstream till the end into a byte array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PartHelper()
Method Detail |
---|
public static byte[] streamToByteArrayAndClose(java.io.InputStream is, int sizeHint) throws java.io.IOException
is
- the input stream to be readsizeHint
- optional, specify -1 if nothing useful
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |