public final class PhoneticFilter extends TokenFilter
AttributeSource.AttributeFactory, AttributeSource.State| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.codec.Encoder |
encoder |
protected boolean |
inject |
protected AttributeSource.State |
save |
input| Constructor and Description |
|---|
PhoneticFilter(TokenStream in,
org.apache.commons.codec.Encoder encoder,
boolean inject) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
incrementToken() |
void |
reset() |
close, endaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreStateprotected boolean inject
protected org.apache.commons.codec.Encoder encoder
protected AttributeSource.State save
public PhoneticFilter(TokenStream in, org.apache.commons.codec.Encoder encoder, boolean inject)
public boolean incrementToken()
throws IOException
incrementToken in class TokenStreamIOExceptionpublic void reset()
throws IOException
reset in class TokenFilterIOExceptionCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.