|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectInputStream
SequenceInputStream
CrimsonBugWorkaround
public class CrimsonBugWorkaround
There's a very nasty bug in the Apache Crimson XML parser. If a ']' character appears at the very end of its 8193-byte buffer and is preceded by a '>' then it crashes. This stream works around it by inserting spaces just before ']' if preceded by a '>'.
Nested Class Summary | |
---|---|
private static class |
CrimsonBugWorkaround.BlockEnum
Presents the input stream as a series of blocks of data |
Field Summary | |
---|---|
(package private) InputStream |
in
|
Constructor Summary | |
---|---|
CrimsonBugWorkaround(InputStream in)
Construct a stream that filters the given one |
Method Summary |
---|
Methods inherited from class SequenceInputStream |
---|
available, close, read, read |
Methods inherited from class InputStream |
---|
mark, markSupported, read, reset, skip |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
InputStream in
Constructor Detail |
---|
public CrimsonBugWorkaround(InputStream in)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |