Package org.apache.myfaces.util.lang
Class DynamicPushbackInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.io.PushbackInputStream
org.apache.myfaces.util.lang.DynamicPushbackInputStream
- All Implemented Interfaces:
- Closeable,- AutoCloseable
NOTE: Copy of org.apache.abdera.i18n.text.io.DynamicPushbackInputStream
 
 PushbackInputStream implementation that performs dynamic resizing of the unread buffer
- 
Field SummaryFields inherited from class java.io.PushbackInputStreambuf, posFields inherited from class java.io.FilterInputStreamin
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.io.PushbackInputStreamavailable, close, mark, markSupported, reset, unreadMethods inherited from class java.io.FilterInputStreamreadMethods inherited from class java.io.InputStreamnullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
- 
Constructor Details- 
DynamicPushbackInputStream
- 
DynamicPushbackInputStream
 
- 
- 
Method Details- 
clearpublic int clear()Clear the buffer
- 
shrinkpublic int shrink()Shrink the buffer. This will reclaim currently unused space in the buffer, reducing memory but potentially increasing the cost of resizing the buffer
- 
unread- Overrides:
- unreadin class- PushbackInputStream
- Throws:
- IOException
 
- 
unread- Overrides:
- unreadin class- PushbackInputStream
- Throws:
- IOException
 
- 
read- Overrides:
- readin class- PushbackInputStream
- Throws:
- IOException
 
- 
read- Overrides:
- readin class- PushbackInputStream
- Throws:
- IOException
 
- 
skip- Overrides:
- skipin class- PushbackInputStream
- Throws:
- IOException
 
 
-