org.apache.commons.codec.binary
Class Codec105ErrorInputStream
java.lang.Object
   java.io.InputStream
java.io.InputStream
       org.apache.commons.codec.binary.Codec105ErrorInputStream
org.apache.commons.codec.binary.Codec105ErrorInputStream
- All Implemented Interfaces: 
- Closeable
- public class Codec105ErrorInputStream 
- extends InputStream
Emits three line-feeds '\n' in a row, one at a time, and then EOF.
 Recreates the bug described in CODEC-105.
- Since:
- 1.5
- Version:
- $Id $
 
| Method Summary | 
|  int | read()
 | 
|  int | read(byte[] b,
         int pos,
         int len)
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Codec105ErrorInputStream
public Codec105ErrorInputStream()
read
public int read()
         throws IOException
- 
- Specified by:
- readin class- InputStream
 
- 
- Throws:
- IOException
 
read
public int read(byte[] b,
                int pos,
                int len)
         throws IOException
- 
- Overrides:
- readin class- InputStream
 
- 
- Throws:
- IOException
 
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.