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