org.biojavax
public static class DocRefAuthor.Tools extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
generateAuthorString(List authors,
boolean useAnd)
Takes a set of authors and creates a comma-separated string.
|
static List |
parseAuthorString(String authors)
Takes a list of authors and returns a set of DocRefAuthor objects.
|
public static List parseAuthorString(String authors)
authors - a comma-separated list of authorspublic static String generateAuthorString(List authors, boolean useAnd)
authors - set of authorsuseAnd - whether or not to do the and thing, otherwise
use all commas.