|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectutil.InputStreamAsBytes
public class InputStreamAsBytes
Reads the data from a given InputStream, making it available as an array of bytes.
Field Summary | |
---|---|
static boolean |
DO_LIST
Flag controlling listing of the blocks (for debugging). |
Constructor Summary | |
---|---|
InputStreamAsBytes(java.io.InputStream ins)
Constructs a new scanner for the given stream, and obtains the data from it. |
Method Summary | |
---|---|
byte[] |
getBytes()
Returns the byte sequence obtained from the stream. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static boolean DO_LIST
Constructor Detail |
---|
public InputStreamAsBytes(java.io.InputStream ins) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public byte[] getBytes()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |