- DataFile - Class in mobi.mtld.da.datafile
-
DataFile class is used to represent data file configuration options.
- DataFile.Builder - Class in mobi.mtld.da.datafile
-
- DataFileException - Exception in mobi.mtld.da.exception
-
The DataFileException is thrown if there is a problem loading the data file.
- DataFileException(String) - Constructor for exception mobi.mtld.da.exception.DataFileException
-
- DataFileException(String, Exception) - Constructor for exception mobi.mtld.da.exception.DataFileException
-
- DataFileManager - Class in mobi.mtld.da.datafile
-
- DataFileManager(DeviceAtlasApi, DataFile) - Constructor for class mobi.mtld.da.datafile.DataFileManager
-
- DataReadException - Exception in mobi.mtld.da.exception
-
The DataReadException is thrown if there is a problem loading the data from stream.
- DataReadException(String) - Constructor for exception mobi.mtld.da.exception.DataReadException
-
- DataReadException(String, Exception) - Constructor for exception mobi.mtld.da.exception.DataReadException
-
- DataType - Class in mobi.mtld.da
-
The data types for various properties.
- DataType() - Constructor for class mobi.mtld.da.DataType
-
- DEFAULT_COOKIE_NAME - Static variable in class mobi.mtld.da.device.Config
-
The default cookie name that the client side properties would be set to.
- DEFAULT_INCLUDE_LANG_PROPS - Static variable in class mobi.mtld.da.device.Config
-
The default config value for getProperties(HEADERS) or getProperties(REQUEST)
to check the Accept-Language header and include properties to the property
set for getting client's language and locale preferences.
- DEFAULT_INCLUDE_MATCH_INFO - Static variable in class mobi.mtld.da.device.Config
-
The default config value for getProperties() to include the matched and
unmatched parts of the User-Agent to the property set.
- DEFAULT_INCLUDE_UA_PROPS - Static variable in class mobi.mtld.da.device.Config
-
The default config value for getProperties() to include User-Agent dynamic
properties.
- DEFAULT_MAX_CACHE_ENTRIES - Static variable in class mobi.mtld.da.device.Config
-
The default config value for result (Properties object) caching.
- DEFAULT_RETURN_NULL_WHEN_NO_PROPERTIES - Static variable in class mobi.mtld.da.device.Config
-
The default config value for getProperties() return value
when there was no properties found.
- DeviceApi - Class in mobi.mtld.da.device
-
The DeviceAtlas device detection API provides a way to detect devices based
on the HTTP headers.
- DeviceApi() - Constructor for class mobi.mtld.da.device.DeviceApi
-
Constructs a DeviceApi instance with default config.
- DeviceApi(Config) - Constructor for class mobi.mtld.da.device.DeviceApi
-
Constructs a DeviceApi instance with custom config.
- DeviceApiWeb - Class in mobi.mtld.da.device
-
A small extension to the core DeviceApi to permit passing of an
HttpServletRequest object.
- DeviceApiWeb() - Constructor for class mobi.mtld.da.device.DeviceApiWeb
-
Constructs a DeviceApiWeb instance with default config.
- DeviceApiWeb(Config) - Constructor for class mobi.mtld.da.device.DeviceApiWeb
-
Constructs a DeviceApiWeb instance with custom config.
- DeviceAtlasApi - Interface in mobi.mtld.da
-
- disableScheduledDownloadAndReload(boolean) - Method in class mobi.mtld.da.datafile.DataFile.Builder
-
- DOUBLE - Static variable in class mobi.mtld.da.DataType
-
Type double
- downloadAndLoadDataFile(DataFile) - Method in class mobi.mtld.da.BaseDeviceAtlasApi
-
Load the DeviceAtlas data file data from a URL.
- downloadAndLoadDataFile(String) - Method in class mobi.mtld.da.BaseDeviceAtlasApi
-
Load the DeviceAtlas data file from a URL.
- downloadAndLoadDataFile(DataFile) - Method in interface mobi.mtld.da.DeviceAtlasApi
-
- downloadAndLoadDataFile(String) - Method in interface mobi.mtld.da.DeviceAtlasApi
-
- downloadAndLoadFrequencyDays(int) - Method in class mobi.mtld.da.datafile.DataFile.Builder
-
- downloadAndLoadScheduleTime(String) - Method in class mobi.mtld.da.datafile.DataFile.Builder
-
- downloadAndLoadTaskFailureCallback(DownloadAndLoadTaskFailureCallback) - Method in class mobi.mtld.da.datafile.DataFile.Builder
-
- DownloadAndLoadTaskFailureCallback - Interface in mobi.mtld.da.datafile
-
- downloadAndLoadTaskSuccessCallback(DownloadAndLoadTaskSuccessCallback) - Method in class mobi.mtld.da.datafile.DataFile.Builder
-
- DownloadAndLoadTaskSuccessCallback - Interface in mobi.mtld.da.datafile
-
- downloadConnectionTimeoutMilliseconds(int) - Method in class mobi.mtld.da.datafile.DataFile.Builder
-
- downloadReadTimeoutMilliseconds(int) - Method in class mobi.mtld.da.datafile.DataFile.Builder
-
- getApiRevision() - Static method in class mobi.mtld.da.Api
-
Deprecated.
Returns the revision number of this API
- getApiVersion() - Static method in class mobi.mtld.da.carrier.CarrierApi
-
Returns the version of the Carrier API.
- getApiVersion() - Static method in class mobi.mtld.da.device.DeviceApi
-
- getCause() - Method in exception mobi.mtld.da.exception.ClientPropertiesException
-
- getCause() - Method in exception mobi.mtld.da.exception.IncorrectPropertyTypeException
-
- getCause() - Method in exception mobi.mtld.da.exception.InvalidPropertyException
-
- getCause() - Method in exception mobi.mtld.da.exception.JsonException
-
- getCause() - Method in exception mobi.mtld.da.exception.UnknownPropertyException
-
- getCode() - Method in exception mobi.mtld.da.exception.JsonException
-
- getCookieName() - Method in class mobi.mtld.da.device.Config
-
Get the cookie name that the client side properties would be set to.
- getDataCreationTimestamp() - Method in class mobi.mtld.da.device.DeviceApi
-
- getDataFileCopyright() - Method in class mobi.mtld.da.carrier.CarrierApi
-
Returns the data file copyright text.
- getDataFileCreationDate() - Method in class mobi.mtld.da.carrier.CarrierApi
-
Returns the data file creation date in ISO8601 format.
- getDataFileVersion() - Method in class mobi.mtld.da.carrier.CarrierApi
-
Returns the version of the data file.
- getDataRevision() - Method in class mobi.mtld.da.device.DeviceApi
-
- getDataType() - Method in class mobi.mtld.da.Property
-
Get the data type name for values associated with this Property
- getDataType() - Method in class mobi.mtld.da.PropertyName
-
Get the data type name for values associated with this Property name.
- getDataTypeId() - Method in class mobi.mtld.da.Property
-
Get the data type ID for values associated with this Property
- getDataTypeId() - Method in class mobi.mtld.da.PropertyName
-
Get the data type ID for values associated with this Property name.
- getDataVersion() - Method in class mobi.mtld.da.device.DeviceApi
-
- getDetectionLookupCount() - Method in class mobi.mtld.da.BaseDeviceAtlasApi
-
- getDetectionLookupCount() - Method in interface mobi.mtld.da.DeviceAtlasApi
-
- getDeviceAtlasApiVersion() - Method in class mobi.mtld.da.carrier.CarrierApi
-
- getDeviceAtlasApiVersion() - Method in class mobi.mtld.da.device.DeviceApi
-
- getDeviceAtlasApiVersion() - Method in interface mobi.mtld.da.DeviceAtlasApi
-
- getDownloadAndLoadFrequencyDays() - Method in class mobi.mtld.da.datafile.DataFile
-
- getDownloadConnectionTimeoutMilliseconds() - Method in class mobi.mtld.da.datafile.DataFile
-
- getDownloadedDataFilePath() - Method in class mobi.mtld.da.datafile.DataFileManager
-
If the temporary data file exists on the system return the temporary file path.
- getDownloadReadTimeoutMilliseconds() - Method in class mobi.mtld.da.datafile.DataFile
-
- getDownloadUrl() - Method in class mobi.mtld.da.datafile.DataFile
-
- getFileDirectory() - Method in class mobi.mtld.da.datafile.DataFile
-
- getFileExtension() - Method in class mobi.mtld.da.datafile.DataFile
-
- getFileName() - Method in class mobi.mtld.da.datafile.DataFile
-
- getFilePath() - Method in class mobi.mtld.da.datafile.DataFile
-
- getHeaderContentMd5() - Method in class mobi.mtld.da.datafile.DataFile
-
- getIncludeLangProps() - Method in class mobi.mtld.da.device.Config
-
Get if the language/locale properties are being included in the property set or not.
- getIncludeMatchInfo() - Method in class mobi.mtld.da.device.Config
-
To get if getProperties() include the matched and unmatched parts of the
User-Agent to the property set.
- getIncludeUaProps() - Method in class mobi.mtld.da.device.Config
-
Get if the User-Agent dynamic properties are being included in the property set or not.
- getIp(Map) - Method in class mobi.mtld.da.carrier.CarrierApi
-
Get the most suitable IP address from the given keyVals set of HTTP
headers.
- getMaxCacheEntries() - Method in class mobi.mtld.da.device.Config
-
Get the max number of results to be cached.
- getName(byte) - Static method in class mobi.mtld.da.DataType
-
- getName() - Method in class mobi.mtld.da.PropertyName
-
Get the name of this PropertyName
- getProperties(HashMap, String) - Static method in class mobi.mtld.da.Api
-
Deprecated.
Returns a HashMap of known properties (as strings) for the user agent
- getProperties(HashMap, String, String) - Static method in class mobi.mtld.da.Api
-
Deprecated.
Returns a HashMap of known properties merged with properties from the client
side JavaScript.
- getProperties(String) - Method in class mobi.mtld.da.carrier.CarrierApi
-
Get the Carrier properties for a given IP address.
- getProperties(Map) - Method in class mobi.mtld.da.carrier.CarrierApi
-
Get the Carrier properties for a given Map of HTTP Headers.
- getProperties(HttpServletRequest) - Method in class mobi.mtld.da.carrier.CarrierApiWeb
-
Get the Carrier properties for the given HttpServletRequest object.
- getProperties(String) - Method in class mobi.mtld.da.device.DeviceApi
-
Get the properties for a User-Agent.
- getProperties(String, String) - Method in class mobi.mtld.da.device.DeviceApi
-
Get the properties for a User-Agent merged with the client side properties
(provided by the DeviceAtlas Client-side component).
- getProperties(Map<String, String>) - Method in class mobi.mtld.da.device.DeviceApi
-
Get the properties for a map of HTTP headers.
- getProperties(Map<String, String>, String) - Method in class mobi.mtld.da.device.DeviceApi
-
Get the properties for a set of HTTP headers merged with properties from the
Client-side component.
- getProperties(HttpServletRequest) - Method in class mobi.mtld.da.device.DeviceApiWeb
-
Get the Device properties for the given HttpServletRequest object.
- getPropertiesAsTyped(HashMap, String) - Static method in class mobi.mtld.da.Api
-
Deprecated.
Returns a HashMap of known properties (as typed) for the user agent
- getPropertiesAsTyped(HashMap, String, String) - Static method in class mobi.mtld.da.Api
-
Deprecated.
Returns a HashMap of known properties merged with properties from the client
side JavaScript.
- getProperty(HashMap, String, String) - Static method in class mobi.mtld.da.Api
-
Deprecated.
Returns a value for the named property for this user agent
- getProperty(HashMap, String, String, String) - Static method in class mobi.mtld.da.Api
-
Deprecated.
Returns a value for the named property for this user agent
- getProperty(String, String) - Method in class mobi.mtld.da.carrier.CarrierApi
-
Try to obtain a specific property for a given IP address.
- getProperty(Map, String) - Method in class mobi.mtld.da.carrier.CarrierApi
-
Try to obtain a specific property for a given Map of HTTP Headers.
- getProperty(HttpServletRequest, String) - Method in class mobi.mtld.da.carrier.CarrierApiWeb
-
Gets a specific Property for the IP found in the HttpServletRequest
object.
- getPropertyAsBoolean(HashMap, String, String) - Static method in class mobi.mtld.da.Api
-
Deprecated.
Strongly typed property accessor.
- getPropertyAsBoolean(HashMap, String, String, String) - Static method in class mobi.mtld.da.Api
-
Deprecated.
Strongly typed property accessor.
- getPropertyAsDate(HashMap, String, String) - Static method in class mobi.mtld.da.Api
-
Deprecated.
- getPropertyAsDate(HashMap, String, String, String) - Static method in class mobi.mtld.da.Api
-
Deprecated.
- getPropertyAsInteger(HashMap, String, String) - Static method in class mobi.mtld.da.Api
-
Deprecated.
Strongly typed property accessor.
- getPropertyAsInteger(HashMap, String, String, String) - Static method in class mobi.mtld.da.Api
-
Deprecated.
Strongly typed property accessor.
- getPropertyAsString(HashMap, String, String) - Static method in class mobi.mtld.da.Api
-
Deprecated.
Strongly typed property accessor.
- getPropertyAsString(HashMap, String, String, String) - Static method in class mobi.mtld.da.Api
-
Deprecated.
Strongly typed property accessor.
- getPropertyNames() - Method in class mobi.mtld.da.carrier.CarrierApi
-
A Set of all the possible property names.
- getPropertyNames() - Method in class mobi.mtld.da.device.DeviceApi
-
Get a set of all possible property names.
- getReturnNullWhenNoProperties() - Method in class mobi.mtld.da.device.Config
-
Get if the value returned by getProperties() should be null when there are
no properties found or an instance of Properties that has no Property
inside it should be returned.
- getTemporaryFilePath() - Method in class mobi.mtld.da.datafile.DataFile
-
- getTreeFromFile(String) - Static method in class mobi.mtld.da.Api
-
Deprecated.
Returns a tree from a JSON file, If it has been previously loaded then the
version from the static cache will be returned.
- getTreeFromFile(String, boolean) - Static method in class mobi.mtld.da.Api
-
Deprecated.
Returns a tree from a JSON file.
- getTreeFromFile(String, boolean, boolean) - Static method in class mobi.mtld.da.Api
-
Deprecated.
Returns a tree from a JSON file.
- getTreeFromString(String) - Static method in class mobi.mtld.da.Api
-
Deprecated.
Returns a loaded JSON tree from a string of JSON data.
- getTreeFromString(String, boolean) - Static method in class mobi.mtld.da.Api
-
Deprecated.
Returns a loaded JSON tree from a string of JSON data.
- getTreeGeneration(HashMap) - Static method in class mobi.mtld.da.Api
-
Deprecated.
Get the generation date for this tree.
- getTreeGenerationAsTimestamp(HashMap) - Static method in class mobi.mtld.da.Api
-
Deprecated.
Get the generation date for this tree as a UNIX timestamp.
- getTreeRevision(HashMap) - Static method in class mobi.mtld.da.Api
-
Deprecated.
Returns the revision number of the tree