|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectTokenStream
TokenFilter
StartEndFilter
public class StartEndFilter
Ensures that the tokens at the start and end of the stream are indexed both with and without the special start-of-field/end-of-field markers.
| Field Summary | |
|---|---|
private Token |
queuedToken
Token queued for next() |
| Fields inherited from class TokenFilter |
|---|
input |
| Constructor Summary | |
|---|---|
StartEndFilter(TokenStream input)
Construct a token stream that fixes the start/end markers. |
|
| Method Summary | |
|---|---|
Token |
next()
Retrieve the next token in the stream. |
| Methods inherited from class TokenFilter |
|---|
close |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private Token queuedToken
| Constructor Detail |
|---|
public StartEndFilter(TokenStream input)
input - Input stream of tokens to process| Method Detail |
|---|
public Token next()
throws IOException
next in class TokenStreamIOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||