|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.io.InputStream | +--org.gloin.resource.SerializableByteArrayInputStream
Serializable byte array input stream. Permit sending of resource bytes without having to run an http server.
Constructor Summary | |
SerializableByteArrayInputStream(byte[] bytes)
|
Method Summary | |
int |
available()
|
void |
close()
|
int |
read()
|
java.lang.String |
toString()
Return byte store and stream name as string representation. |
Methods inherited from class java.io.InputStream |
mark, markSupported, read, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SerializableByteArrayInputStream(byte[] bytes)
Method Detail |
public int read() throws java.io.IOException
read
in class java.io.InputStream
public int available() throws java.io.IOException
available
in class java.io.InputStream
public void close() throws java.io.IOException
close
in class java.io.InputStream
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |