|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Chunker
The Chunker interface specifies methods for returning
a chunking given a character sequence or character slice.
Note that a Chunker may be used to implement a
Parser that extends StringParser by implementing its Parser.parseString(char[],int,int) method using
the chunker method chunk(char[],int,int). This will send
all extracted chunkings to the parser's contained ChunkHandler.
| Method Summary | |
|---|---|
Chunking |
chunk(char[] cs,
int start,
int end)
Return the chunking of the specified character slice. |
Chunking |
chunk(CharSequence cSeq)
Return the chunking of the specified character sequence. |
| Method Detail |
|---|
Chunking chunk(CharSequence cSeq)
cSeq - Character sequence to chunk.
Chunking chunk(char[] cs,
int start,
int end)
cs - Underlying character sequence.start - Index of first character in slice.end - Index of one past the last character in the slice.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||