|
JAC project AOPSYS CEDRIC & LIP6 labs |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jac.util.Streams
This class contains some utility functions for streams.
Constructor Summary | |
Streams()
|
Method Summary | |
static byte[] |
readStream(InputStream fin)
Reads an input stream until it reaches the end and store the data in an array of bytes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Streams()
Method Detail |
public static byte[] readStream(InputStream fin) throws IOException
this method was extracted "as is" from javassist 1.0 from Shigeru Chiba.
fin
- the input stream to read the class from
IOException
- if the size of the file is equal or more than 1Mbyte.
|
Contact JAC development team: Renaud Pawlak Lionel Seinturier Laurent Martelli |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |