Package de.undercouch.citeproc.bibtex
Class NameParser
- java.lang.Object
-
- de.undercouch.citeproc.bibtex.NameParser
-
public class NameParser extends java.lang.ObjectParses a human's name to aCSLNameobject- Author:
- Michel Kraemer
-
-
Constructor Summary
Constructors Constructor Description NameParser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CSLName[]parse(java.lang.String names)Parses names toCSLNameobjects.
-
-
-
Method Detail
-
parse
public static CSLName[] parse(java.lang.String names)
Parses names toCSLNameobjects. Also handles strings containing multiple names separated byand. The method always returns at least one object, even if the given names cannot be parsed. In this case the returned object just contains a literal string.- Parameters:
names- the names to parse- Returns:
- the
CSLNameobjects (nevernulland never empty)
-
-