-
- All Implemented Interfaces:
-
java.io.Closeable,java.lang.AutoCloseable
public final class ByteArraySavingInputStream extends InputStream
-
-
Constructor Summary
Constructors Constructor Description ByteArraySavingInputStream(InputStream inputStream)
-
Method Summary
Modifier and Type Method Description final BooleangetSaveBytes()final UnitsetSaveBytes(Boolean saveBytes)Integerread()Unitclose()final ByteArraytoByteArray()-
Methods inherited from class java.io.InputStream
available, mark, markSupported, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ByteArraySavingInputStream
ByteArraySavingInputStream(InputStream inputStream)
-
-
Method Detail
-
getSaveBytes
final Boolean getSaveBytes()
-
setSaveBytes
final Unit setSaveBytes(Boolean saveBytes)
-
toByteArray
final ByteArray toByteArray()
-
-
-
-