public interface NameParser
Modifier and Type | Method and Description |
---|---|
Name |
parse(java.lang.String name)
Method that parses a name.
|
@Nullable Name parse(@NotNull java.lang.String name) throws java.text.ParseException
Name
that can then be used elsewherename
- The string representation of the nameName
object that was parsed. If the name fails to parse but no meaningful reason is given, null may be returned instead of throwing an
exceptionjava.text.ParseException
- If there is an error parsing the name