|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.uadetector.datastore.AbstractRefreshableDataStore
net.sf.uadetector.datastore.OnlineXmlDataStore
public final class OnlineXmlDataStore
This is the simplest implementation of a RefreshableDataStore. It initialize the store by reading the
UAS data online via DataStore.DEFAULT_DATA_URL and store it only in the Java heap space.
Attentation: During initialization the fallback data store will be used and the remote data will be read in background (non-blocking).
| Field Summary |
|---|
| Fields inherited from interface net.sf.uadetector.datastore.RefreshableDataStore |
|---|
MSG_FAULTY_CONTENT, MSG_URL_NOT_READABLE |
| Fields inherited from interface net.sf.uadetector.datastore.DataStore |
|---|
DEFAULT_CHARSET, DEFAULT_DATA_URL, DEFAULT_VERSION_URL |
| Constructor Summary | |
|---|---|
OnlineXmlDataStore(DataStore fallback)
Constructs an OnlineXmlDataStore by reading UAS data by the specified default URL
DataStore.DEFAULT_DATA_URL (in XML format). |
|
| Method Summary |
|---|
| Methods inherited from class net.sf.uadetector.datastore.AbstractRefreshableDataStore |
|---|
getCharset, getData, getDataReader, getDataUrl, getFallback, getUpdateOperation, getVersionUrl, refresh, setData, setUpdateOperation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OnlineXmlDataStore(DataStore fallback)
OnlineXmlDataStore by reading UAS data by the specified default URL
DataStore.DEFAULT_DATA_URL (in XML format).
fallback - UAS data as fallback in case the data on the specified resource can not be read correctly
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||