Class TypeAsPayloadTokenFilter

All Implemented Interfaces:
Closeable, AutoCloseable, Unwrappable<TokenStream>

public class TypeAsPayloadTokenFilter extends TokenFilter
Makes the TypeAttribute a payload.

Encodes the type using String.getBytes(String) with "UTF-8" as the encoding