public class TokenOffsetPayloadTokenFilter extends TokenFilter
Token.setStartOffset(int)
and Token.setEndOffset(int)
First 4 bytes are the startinput| Constructor and Description |
|---|
TokenOffsetPayloadTokenFilter(TokenStream input) |
| Modifier and Type | Method and Description |
|---|---|
Token |
next(Token reusableToken) |
close, resetnextpublic TokenOffsetPayloadTokenFilter(TokenStream input)
public Token next(Token reusableToken) throws IOException
next in class TokenStreamIOExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.