|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.InputStream
java.io.ByteArrayInputStream
org.iids.aos.util.MyByteArrayInputStream
public class MyByteArrayInputStream
Factory class for cacheable ByteArrayInputStream. This class also caches MyByteArrayInputStream instances for better performance.
| Field Summary |
|---|
| Fields inherited from class java.io.ByteArrayInputStream |
|---|
buf, count, mark, pos |
| Method Summary | |
|---|---|
static MyByteArrayInputStream |
getInstance(byte[] b)
|
static void |
releaseInstance(MyByteArrayInputStream bais)
|
void |
reset(byte[] b)
|
| Methods inherited from class java.io.ByteArrayInputStream |
|---|
available, close, mark, markSupported, read, read, reset, skip |
| Methods inherited from class java.io.InputStream |
|---|
read |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void reset(byte[] b)
public static MyByteArrayInputStream getInstance(byte[] b)
public static void releaseInstance(MyByteArrayInputStream bais)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||