- 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
-
- 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_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.
- 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 configs.
- DeviceApi(Config) - Constructor for class mobi.mtld.da.device.DeviceApi
-
Constructs a DeviceApi instance with custom configs.
- 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 configs.
- DeviceApiWeb(Config) - Constructor for class mobi.mtld.da.device.DeviceApiWeb
-
Constructs a DeviceApiWeb instance with custom configs.
- DOUBLE - Static variable in class mobi.mtld.da.DataType
-
Type double
- 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.device.DeviceApi
-
Get DeviceApi version.
- getCause() - Method in exception mobi.mtld.da.exception.ClientPropertiesException
-
Retrieves the throwable, which determines the nature/cause of the exception.
- 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
-
Retrieves the throwable, which determines the nature/cause of the exception.
- getCause() - Method in exception mobi.mtld.da.exception.UnknownPropertyException
-
- getCode() - Method in exception mobi.mtld.da.exception.JsonException
-
Retrieves the exception code, which determines the nature/cause of the exception.
- 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
-
Get the device data creation (JSON file) timestamp.
- getDataRevision() - Method in class mobi.mtld.da.device.DeviceApi
-
Get the device data generation revision.
- 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
-
Get the device data (JSON file) version.
- 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 properties are being included in the property set or not.
- getName(byte) - Static method in class mobi.mtld.da.DataType
-
Get the name of a given data type.
- 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.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 set 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
- 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.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 to return or an instance of Properties that has no Property
inside it should be returned.
- 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