public class TBufferedByteArrayInputStream
extends java.io.FilterInputStream
ByteArrayInputStream
Constructor and Description |
---|
TBufferedByteArrayInputStream(java.io.InputStream inputStream)
Create a TBufferedByteArrayInputStream instance from the given InputStream.
|
TBufferedByteArrayInputStream(java.io.InputStream inputStream,
boolean ignoreClose)
Create a TBufferedByteArrayInputStream instance from the given InputStream.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close this inputStream.
|
public TBufferedByteArrayInputStream(java.io.InputStream inputStream) throws java.io.IOException
inputStream
- to buffer in the whole lengthjava.io.IOException
- returned in case of problems with the given inputStream.public TBufferedByteArrayInputStream(java.io.InputStream inputStream, boolean ignoreClose) throws java.io.IOException
inputStream
- to buffer in the whole lengthignoreClose
- ignore the close requestjava.io.IOException
- returned in case of problems with the given inputStream.public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.FilterInputStream
java.io.IOException
Copyright (c) 2016 Software AG. All Rights Reserved.