|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
org.apache.commons.io.input.ProxyInputStream
org.apache.commons.io.input.CountingInputStream
org.duracloud.chunk.stream.CountingDigestInputStream
public class CountingDigestInputStream
This class combines the two InputStream implementations: - CountingInputStream & - DigestInputStream
Field Summary |
---|
Fields inherited from class java.io.FilterInputStream |
---|
in |
Constructor Summary | |
---|---|
CountingDigestInputStream(java.io.InputStream inputStream,
boolean preserveMD5)
The digest capabilities are turned off if the arg preserveMD5 is false |
Method Summary | |
---|---|
java.lang.String |
getMD5()
|
Methods inherited from class org.apache.commons.io.input.CountingInputStream |
---|
getByteCount, getCount, read, read, read, resetByteCount, resetCount, skip |
Methods inherited from class org.apache.commons.io.input.ProxyInputStream |
---|
available, close, mark, markSupported, reset |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CountingDigestInputStream(java.io.InputStream inputStream, boolean preserveMD5)
inputStream
- preserveMD5
- Method Detail |
---|
public java.lang.String getMD5()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |