public class LocationManager extends Object
| Constructor and Description |
|---|
LocationManager(String fileName)
Constructor to initialize a LocationManager object, which is used to
determine if a string or a pair of strings should be assigned type LOC.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValidLocation(String token)
Returns true if the string parameter is a location and will be assigned
type LOC in EntityComparison.
|
public LocationManager(String fileName) throws IOException
fileName - File name to obtain list of location stringsIOExceptionpublic boolean isValidLocation(String token)
token - One of the entire strings to be comparedCopyright © 2017. All rights reserved.