net.sf.uadetector.datastore
Interface DataStore

All Known Subinterfaces:
RefreshableDataStore
All Known Implementing Classes:
AbstractDataStore, AbstractRefreshableDataStore, CachingXmlDataStore, OnlineXmlDataStore, SimpleXmlDataStore

public interface DataStore

Defines an interface to store UAS data where ever you want.

Author:
André Rouél

Field Summary
static java.nio.charset.Charset DEFAULT_CHARSET
          Default character set to read UAS data
static java.lang.String DEFAULT_DATA_URL
          URL to retrieve the current UAS data as XML
static java.lang.String DEFAULT_VERSION_URL
          URL to retrieve the current version of the UAS data
 
Method Summary
 java.nio.charset.Charset getCharset()
          Gets the character set in which the UAS data will be read.
 Data getData()
          Gets the UAS data which are currently set.
 DataReader getDataReader()
          Gets the data reader to read in UAS data.
 java.net.URL getDataUrl()
          Gets the URL from which the UAS data can be read.
 java.net.URL getVersionUrl()
          Gets the URL from which version information about the UAS data can be read.
 

Field Detail

DEFAULT_CHARSET

static final java.nio.charset.Charset DEFAULT_CHARSET
Default character set to read UAS data


DEFAULT_DATA_URL

static final java.lang.String DEFAULT_DATA_URL
URL to retrieve the current UAS data as XML

See Also:
Constant Field Values

DEFAULT_VERSION_URL

static final java.lang.String DEFAULT_VERSION_URL
URL to retrieve the current version of the UAS data

See Also:
Constant Field Values
Method Detail

getCharset

@Nonnull
java.nio.charset.Charset getCharset()
Gets the character set in which the UAS data will be read.

Returns:
current UAS data

getData

@Nonnull
Data getData()
Gets the UAS data which are currently set.

Returns:
current UAS data

getDataReader

@Nonnull
DataReader getDataReader()
Gets the data reader to read in UAS data.

Returns:
the data reader to read in UAS data

getDataUrl

@Nonnull
java.net.URL getDataUrl()
Gets the URL from which the UAS data can be read.

Returns:
URL to UAS data

getVersionUrl

@Nonnull
java.net.URL getVersionUrl()
Gets the URL from which version information about the UAS data can be read.

Returns:
URL to version information of UAS data


Copyright © 2011-2014. All Rights Reserved.