public class NameInfo extends Object
Modifier and Type | Field and Description |
---|---|
static String |
GENERIC_TYPE |
Constructor and Description |
---|
NameInfo(String inputName)
Constructor that takes one of the two compared strings as a parameter.
|
Modifier and Type | Method and Description |
---|---|
ArrayList<String> |
getCandidates() |
String |
getName() |
ArrayList<String> |
getOriginalCandidates() |
String |
getOriginalName() |
String |
getType() |
boolean |
isEnforced() |
boolean |
parseName(String inputName)
Parses the string parameter and separates each part from the
delimiter(s).
|
void |
setType(String type) |
public static final String GENERIC_TYPE
public NameInfo(String inputName)
inputName
- One of the two strings being comparedpublic String getOriginalName()
public String getName()
public String getType()
public boolean isEnforced()
public void setType(String type)
type
- The type (LOC/ORG/PER/GEN) to set the NameInfo object aspublic boolean parseName(String inputName)
inputName
- One of two compared stringsCopyright © 2017. All rights reserved.