Package org.apache.abdera.i18n.text.io
Class RewindableInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.io.PushbackInputStream
org.apache.abdera.i18n.text.io.DynamicPushbackInputStream
org.apache.abdera.i18n.text.io.RewindableInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
- Direct Known Subclasses:
PeekAheadInputStream
@Deprecated(since="2021-07-29")
public class RewindableInputStream
extends DynamicPushbackInputStream
Deprecated.
This API is deprecated as Apache Abdera is a retired project since 2017.
RewindableInputStream is a specialization of the PushbackInputStream that maintains an internal buffer of read bytes
that a user can rewind (unread) back into the stream without having to do their own buffer management. The rewind
buffer grows dynamically
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.abdera.i18n.text.io.DynamicPushbackInputStream
clear, shrink, unread, unreadMethods inherited from class java.io.PushbackInputStream
available, close, mark, markSupported, reset, transferTo, unreadMethods inherited from class java.io.FilterInputStream
readMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes
-
Constructor Details
-
RewindableInputStream
Deprecated. -
RewindableInputStream
Deprecated.
-
-
Method Details
-
position
public int position()Deprecated. -
rewind
Deprecated.- Throws:
IOException
-
rewind
Deprecated.- Throws:
IOException
-
rewind
Deprecated.- Throws:
IOException
-
read
Deprecated.- Overrides:
readin classDynamicPushbackInputStream- Throws:
IOException
-
read
Deprecated.- Overrides:
readin classDynamicPushbackInputStream- Throws:
IOException
-
skip
Deprecated.- Overrides:
skipin classDynamicPushbackInputStream- Throws:
IOException
-