public class DictionaryMatchImpl extends java.lang.Object implements DictionaryMatch
| Constructor and Description |
|---|
DictionaryMatchImpl()
Creates a new DictionaryMatch object and reset all members
|
| Modifier and Type | Method and Description |
|---|---|
int |
getMatchLength()
Returns the length of the match.
|
EntryMetaData |
getMatchMetaData()
Returns the dictionary match entry meta data.
|
boolean |
isValidMatch()
check if a valid match is available.
|
void |
reset()
reset the match data
|
void |
storeMatch(EntryMetaData metaData,
boolean isComplete)
stores a new match in the match object
|
public DictionaryMatchImpl()
public EntryMetaData getMatchMetaData()
DictionaryMatchgetMatchMetaData in interface DictionaryMatchpublic int getMatchLength()
DictionaryMatchgetMatchLength in interface DictionaryMatchpublic void storeMatch(EntryMetaData metaData, boolean isComplete)
metaData - metaData for the entry that matchedisComplete - specifies if the entry is a temporary match or a valid matchpublic boolean isValidMatch()
public void reset()
Copyright © 2013. All Rights Reserved.