Package gov.nih.mipav.model.file
Class jxlatte.PushbackInputStream
java.lang.Object
java.io.InputStream
gov.nih.mipav.model.file.jxlatte.PushbackInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
jxlatte
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skipNBytes, transferTo
-
Field Details
-
buffer
private byte[] buffer -
bufferPos
private int bufferPos -
supplier
-
fifo
-
in
-
-
Constructor Details
-
PushbackInputStream
-
PushbackInputStream
-
-
Method Details
-
pushBack
public void pushBack(byte[] array) -
refillBuffer
- Throws:
IOException
-
available
- Overrides:
availablein classInputStream- Throws:
IOException
-
drain
public byte[] drain() -
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
skip
- Overrides:
skipin classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-