|
||||||||||
| 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.duracloud.chunk.stream.KnownLengthInputStream
public class KnownLengthInputStream
This wraps ByteArrayInputStream and adds a length field.
| Field Summary |
|---|
| Fields inherited from class java.io.ByteArrayInputStream |
|---|
buf, count, mark, pos |
| Constructor Summary | |
|---|---|
KnownLengthInputStream(java.lang.String content)
|
|
| Method Summary | |
|---|---|
int |
getLength()
|
| 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 |
| Constructor Detail |
|---|
public KnownLengthInputStream(java.lang.String content)
| Method Detail |
|---|
public int getLength()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||