|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gbif.occurrencestore.utils.ClassificationUtils
public final class ClassificationUtils
Utilities to work on classifications.
| Field Summary | |
|---|---|
static Set<String> |
NULL_STRINGS
|
| Method Summary | |
|---|---|
static String |
canonicalName(ParsedName parsedName)
|
static String |
canonicalName(String scientificName)
parses a scientific name and creates the canonical name of it inlcuding the hybrid marker (which is not part of the ParsedName.canonical() output!) |
static String |
clean(String taxon)
Cleans up a taxon as far as possible by removing erroneous chars etc. |
static String |
cleanAuthor(String author)
Clean some noise from the author. |
protected static boolean |
equalTaxa(String t1,
String... t2)
|
static String |
parseName(String scientificName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Set<String> NULL_STRINGS
| Method Detail |
|---|
public static String canonicalName(String scientificName)
scientificName -
public static String canonicalName(ParsedName parsedName)
public static String clean(String taxon)
taxon - to checkpublic static String cleanAuthor(String author)
author - to clean
protected static boolean equalTaxa(String t1,
String... t2)
public static String parseName(String scientificName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||