public final class ClassificationUtils extends Object
Modifier and Type | Field and Description |
---|---|
static Set<String> |
NULL_STRINGS |
Modifier and Type | Method and Description |
---|---|
static String |
canonicalName(String scientificName)
Parses a scientific name and creates the canonical name including a potential hybrid and rank marker
plus the cultivar and strain names if existing.
|
static String |
canonicalName(String scientificName,
Rank rank)
Parses a canonical name at a specific Rank.
|
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.
|
static String |
parseName(String scientificName)
Deprecated.
unsufficiently documented; should be in NameParser project if it is needed at all
|
static String |
parseName(String scientificName,
Rank rank)
Deprecated.
unsufficiently documented; should be in NameParser project if it is needed at all
|
public static final Set<String> NULL_STRINGS
public static String canonicalName(String scientificName, Rank rank)
public static String canonicalName(String scientificName)
public static String clean(String taxon)
taxon
- to checkpublic static String cleanAuthor(String author)
author
- to clean@Deprecated public static String parseName(String scientificName)
@Deprecated public static String parseName(String scientificName, Rank rank)
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.