|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectCrimsonBugWorkaround.BlockEnum
private static class CrimsonBugWorkaround.BlockEnum
Presents the input stream as a series of blocks of data
Field Summary | |
---|---|
(package private) static int |
BLOCK_SIZE
|
(package private) boolean |
eof
|
(package private) InputStream |
in
|
(package private) byte[] |
inBuf
|
(package private) int |
inBufLen
|
(package private) byte[] |
outBuf
|
(package private) int |
outBufLen
|
(package private) byte |
prev
|
Constructor Summary | |
---|---|
CrimsonBugWorkaround.BlockEnum(InputStream in)
|
Method Summary | |
---|---|
private void |
fixBuf()
Scan through the input buffer, looking for the suspicious pair of characters and sticking a space between them. |
boolean |
hasMoreElements()
Tells whether there are more blocks to read |
Object |
nextElement()
Gets an InputStream for the next block of data |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static final int BLOCK_SIZE
InputStream in
byte[] inBuf
int inBufLen
byte[] outBuf
int outBufLen
boolean eof
byte prev
Constructor Detail |
---|
CrimsonBugWorkaround.BlockEnum(InputStream in)
Method Detail |
---|
public boolean hasMoreElements()
hasMoreElements
in interface Enumeration
public Object nextElement()
nextElement
in interface Enumeration
private void fixBuf()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |