public class BoundaryPushbackInputStream
extends java.io.InputStream
| Modifier and Type | Field and Description |
|---|---|
protected static int |
BOUNDARY_NT_FOUND |
| Constructor and Description |
|---|
BoundaryPushbackInputStream(java.io.PushbackInputStream inStream,
byte[] boundary,
int pushBackSize) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
boundaryPosition(byte[] searchbuf,
int start,
int end)
Read from the boundary delimited stream.
|
boolean |
getBoundaryStatus() |
int |
read()
Read from the boundary delimited stream.
|
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len)
Read from the boundary delimited stream.
|
java.lang.String |
toString()
toString
dumps state information.
|
protected static final int BOUNDARY_NT_FOUND
public BoundaryPushbackInputStream(java.io.PushbackInputStream inStream,
byte[] boundary,
int pushBackSize)
inStream - boundary - pushBackSize - public int read(byte[] b)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamb - is the array to read into.off - is the offsetlen - java.io.IOExceptionprotected int boundaryPosition(byte[] searchbuf,
int start,
int end)
throws java.io.IOException
searchbuf - start - end - java.io.IOExceptionpublic boolean getBoundaryStatus()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.