final class BlockableInputStream extends InputStream implements KNIMEStreamConstants
DataCell. It will simulate an eof file if it encounters a block end. This class is intended to be used on streams written with the
|Constructor and Description|
Inits the Stream.
|Modifier and Type||Method and Description|
Finishes the current block, i.e.
Reads next byte from stream and if it is an escape byte, it returns the next following byte.
available, mark, markSupported, read, read, reset, skip
inStream- the stream to wrap; must not be
public int read() throws IOException
public void endBlock() throws IOException
read()operations. Otherwise it will subsequently call
read()until the block end is reached.
KNIME GmbH, Konstanz, Germany
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.