public class BoundaryPushbackInputStream extends InputStream
| Modifier and Type | Field and Description |
|---|---|
protected static int |
BOUNDARY_NT_FOUND |
| Constructor and Description |
|---|
BoundaryPushbackInputStream(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.
|
String |
toString()
toString
dumps state information.
|
available, close, mark, markSupported, reset, skipprotected static final int BOUNDARY_NT_FOUND
public BoundaryPushbackInputStream(PushbackInputStream inStream, byte[] boundary, int pushBackSize)
inStream - boundary - pushBackSize - public int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamb - is the array to read into.off - is the offsetlen - IOExceptionprotected int boundaryPosition(byte[] searchbuf,
int start,
int end)
throws IOException
searchbuf - start - end - IOExceptionpublic boolean getBoundaryStatus()
Copyright © 2004–2016 The Apache Software Foundation. All rights reserved.