public class XTalkToSAX extends Object
Modifier and Type | Field and Description |
---|---|
static int |
INITIAL_BUF_SIZE |
Constructor and Description |
---|
XTalkToSAX() |
XTalkToSAX(int bufSize) |
Modifier and Type | Method and Description |
---|---|
int |
bufferSize()
Initially, the XTalkToSAX processor creates a byte buffer and char buffer of size
INITIAL_BUF_SIZE.
|
void |
parse(InputStream is,
ContentHandler handler)
Parse one document off of the incoming XTalk stream into SAX events.
|
void |
resizeBuffers(int toSize)
Resets buffers to their initial size...
|
public static final int INITIAL_BUF_SIZE
public int bufferSize()
public void resizeBuffers(int toSize)
toSize
- -public void parse(InputStream is, ContentHandler handler) throws IOException, SAXException
is
- -handler
- -IOException
- if underlying IOException from the stream or if XTalk format is invalid.SAXException
- if SAXException thrown by the handlerCopyright © 2017. All rights reserved.