public class JSONDatabase extends AbstractDatabase
This implementation of the AbstractDatabase lookup service uses a JSON stream to populate the lookup table.
| Modifier and Type | Field and Description |
|---|---|
(package private) static org.slf4j.Logger |
log |
database, key, url| Constructor and Description |
|---|
JSONDatabase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
populateDatabase(SourceURL url,
Map<String,Data> database) |
finish, getKey, getUrl, init, lookup, readDatabase, reset, setKey, setUrlprotected void populateDatabase(SourceURL url, Map<String,Data> database) throws Exception
populateDatabase in class AbstractDatabaseExceptionCopyright © 2018. All rights reserved.