public class PeopleManager extends Object
Constructor and Description |
---|
PeopleManager(String peopleFileName)
Constructor to initialize a PeopleManager object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isValidPeopleName(String token)
Returns true if the string parameter is a valid name and should be
designated type PER.
|
public PeopleManager(String peopleFileName) throws IOException
peopleFileName
- File name to obtain list of people stringsIOException
public boolean isValidPeopleName(String token)
token
- String to be checked for type PERCopyright © 2017. All rights reserved.