public class IdentifierUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
WIKIDATA_PATTERN |
| Constructor and Description |
|---|
IdentifierUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getIdentifierLink(String identifier,
IdentifierType type)
Creates a http link for an identifier if possible by passing it to some known resolvers for the
specific id type.
|
static boolean |
isValidCitesIdentifier(String identifier)
CITES identifier validation according to https://cites.org/eng/common/reg/e_si.html.
|
static boolean |
isValidWikidataIdentifier(String identifier) |
public static final Pattern WIKIDATA_PATTERN
public IdentifierUtils()
@Nullable public static String getIdentifierLink(String identifier, IdentifierType type)
identifier - Identifier's identifiertype - Identifier's typepublic static boolean isValidCitesIdentifier(String identifier)
public static boolean isValidWikidataIdentifier(String identifier)
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.