public class LicenseUriParser extends FileBasedDictionaryParser<URI>
License
which is for our GBIF enumeration.
Singleton implementation of the dictionary that uses the file /dictionaries/parse/license_uri.txt to lookup a
License by its URI or its acronym/title, e.g. a lookup by "CC-BY 4.0" returns http://creativecommons.org/licenses/by/4.0/.
Modifier and Type | Method and Description |
---|---|
static LicenseUriParser |
getInstance() |
void |
init(Iterator<KeyValue<String,URI>> source) |
parse
public void init(Iterator<KeyValue<String,URI>> source)
init
in class DictionaryBackedParser<URI>
source
- To build the dictionary frompublic static LicenseUriParser getInstance()
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.