public class TypeAsPayloadTokenFilter extends TokenFilter
Token.type()
a payload.
Encodes the type using String.getBytes(String)
with "UTF-8" as the encodinginput
Constructor and Description |
---|
TypeAsPayloadTokenFilter(TokenStream input) |
Modifier and Type | Method and Description |
---|---|
Token |
next(Token reusableToken) |
close, reset
next
public TypeAsPayloadTokenFilter(TokenStream input)
public Token next(Token reusableToken) throws java.io.IOException
next
in class TokenStream
java.io.IOException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.