public class TokenUtils extends Object
| Constructor and Description |
|---|
TokenUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.lucene.analysis.tokenattributes.PackedTokenAttributeImpl |
nextToken(org.apache.lucene.analysis.TokenStream input,
org.apache.lucene.analysis.tokenattributes.PackedTokenAttributeImpl reusableToken) |
static org.apache.lucene.analysis.tokenattributes.PackedTokenAttributeImpl |
subToken(org.apache.lucene.analysis.tokenattributes.PackedTokenAttributeImpl oriToken,
int termBufferOffset,
int termBufferLength) |
public static org.apache.lucene.analysis.tokenattributes.PackedTokenAttributeImpl nextToken(org.apache.lucene.analysis.TokenStream input,
org.apache.lucene.analysis.tokenattributes.PackedTokenAttributeImpl reusableToken)
throws IOException
input - reusableToken - is null well new one auto.IOExceptionpublic static org.apache.lucene.analysis.tokenattributes.PackedTokenAttributeImpl subToken(org.apache.lucene.analysis.tokenattributes.PackedTokenAttributeImpl oriToken,
int termBufferOffset,
int termBufferLength)
Copyright © 2015-2016 Ganshane Developer Team. All Rights Reserved.