public class DictionaryMatchImpl extends 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()
DictionaryMatch
getMatchMetaData
in interface DictionaryMatch
public int getMatchLength()
DictionaryMatch
getMatchLength
in interface DictionaryMatch
public 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 © 2006–2015 The Apache Software Foundation. All rights reserved.