A B C F G I J L M N U 

A

Api - Class in mobi.mtld.da
Used to load the recognition tree and perform lookups of all properties, or get individual properties.
Api() - Constructor for class mobi.mtld.da.Api
 

B

BAD_DATA - Static variable in exception mobi.mtld.da.exception.JsonException
The data stored in the JSON cannot be used to build a valid DeviceAtlas data tree.

C

ClientPropertiesException - Exception in mobi.mtld.da.exception
The ClientPropertiesException is thrown by the API when there is a problem parsing the properties from the client or when the JSON file does not support client side properties.
ClientPropertiesException(String) - Constructor for exception mobi.mtld.da.exception.ClientPropertiesException
Constructs a JsonException instance with a code and human-readable message.
ClientPropertiesException(String, Throwable) - Constructor for exception mobi.mtld.da.exception.ClientPropertiesException
Constructs a JsonException instance with a code and human-readable message.

F

FILE_NOT_FOUND_ERROR - Static variable in exception mobi.mtld.da.exception.JsonException
The path to the JSON file that was given cannot be resolved.

G

getApiRevision() - Static method in class mobi.mtld.da.Api
Returns the revision number of this API
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.
getProperties(HashMap, String) - Static method in class mobi.mtld.da.Api
Returns a HashMap of known properties (as strings) for the user agent
getProperties(HashMap, String, String) - Static method in class mobi.mtld.da.Api
Returns a HashMap of known properties merged with properties from the client side JavaScript.
getPropertiesAsTyped(HashMap, String) - Static method in class mobi.mtld.da.Api
Returns a HashMap of known properties (as typed) for the user agent
getPropertiesAsTyped(HashMap, String, String) - Static method in class mobi.mtld.da.Api
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
Returns a value for the named property for this user agent
getProperty(HashMap, String, String, String) - Static method in class mobi.mtld.da.Api
Returns a value for the named property for this user agent
getPropertyAsBoolean(HashMap, String, String) - Static method in class mobi.mtld.da.Api
Strongly typed property accessor.
getPropertyAsBoolean(HashMap, String, String, String) - Static method in class mobi.mtld.da.Api
Strongly typed property accessor.
getPropertyAsDate(HashMap, String, String) - Static method in class mobi.mtld.da.Api
Strongly typed property accessor.
getPropertyAsDate(HashMap, String, String, String) - Static method in class mobi.mtld.da.Api
Strongly typed property accessor.
getPropertyAsInteger(HashMap, String, String) - Static method in class mobi.mtld.da.Api
Strongly typed property accessor.
getPropertyAsInteger(HashMap, String, String, String) - Static method in class mobi.mtld.da.Api
Strongly typed property accessor.
getPropertyAsString(HashMap, String, String) - Static method in class mobi.mtld.da.Api
Strongly typed property accessor.
getPropertyAsString(HashMap, String, String, String) - Static method in class mobi.mtld.da.Api
Strongly typed property accessor.
getTreeFromFile(String) - Static method in class mobi.mtld.da.Api
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
Returns a tree from a JSON file.
getTreeFromFile(String, boolean, boolean) - Static method in class mobi.mtld.da.Api
Returns a tree from a JSON file.
getTreeFromString(String) - Static method in class mobi.mtld.da.Api
Returns a loaded JSON tree from a string of JSON data.
getTreeFromString(String, boolean) - Static method in class mobi.mtld.da.Api
Returns a loaded JSON tree from a string of JSON data.
getTreeGeneration(HashMap) - Static method in class mobi.mtld.da.Api
Get the generation date for this tree.
getTreeGenerationAsTimestamp(HashMap) - Static method in class mobi.mtld.da.Api
Get the generation date for this tree as a UNIX timestamp.
getTreeRevision(HashMap) - Static method in class mobi.mtld.da.Api
Returns the revision number of the tree

I

IncorrectPropertyTypeException - Exception in mobi.mtld.da.exception
The InvalidPropertyException is thrown by the Api class when there is an attemp to fetch a property by type and the property is stored under a different type in the tree.
IncorrectPropertyTypeException(String) - Constructor for exception mobi.mtld.da.exception.IncorrectPropertyTypeException
Constructs a UnknownPropertyException with a message.
IncorrectPropertyTypeException(Throwable) - Constructor for exception mobi.mtld.da.exception.IncorrectPropertyTypeException
 
InvalidPropertyException - Exception in mobi.mtld.da.exception
The InvalidPropertyException is thrown by the Api class when there is an attemp to fetch a property that is unknown for the supplied user agent.
InvalidPropertyException(String) - Constructor for exception mobi.mtld.da.exception.InvalidPropertyException
Constructs a UnknownPropertyException with a message.
InvalidPropertyException(Throwable) - Constructor for exception mobi.mtld.da.exception.InvalidPropertyException
 

J

JSON_VERSION - Static variable in exception mobi.mtld.da.exception.JsonException
The JSON data you are using is too old for this API.
JsonException - Exception in mobi.mtld.da.exception
The JsonException is thrown by the Json class or the Api class when there is an error parsing the Json.
JsonException(int, String) - Constructor for exception mobi.mtld.da.exception.JsonException
Constructs a JsonException instance with a code and human-readable message.

L

listProperties(HashMap) - Static method in class mobi.mtld.da.Api
Returns a HashMap of known property names available for the user agents in this file, with their data type names

M

mobi.mtld.da - package mobi.mtld.da
 
mobi.mtld.da.exception - package mobi.mtld.da.exception
 

N

NO_CLIENT_PROPERTIES_SECTION - Static variable in exception mobi.mtld.da.exception.JsonException
The JSON file does not contain the Client Properties Section.

U

UnknownPropertyException - Exception in mobi.mtld.da.exception
The UnknownPropertyException is thrown by the Api class when there is an attemp to fetch a property unknown to the tree.
UnknownPropertyException(String) - Constructor for exception mobi.mtld.da.exception.UnknownPropertyException
Constructs a UnknownPropertyException with a message.
UnknownPropertyException(Throwable) - Constructor for exception mobi.mtld.da.exception.UnknownPropertyException
 
A B C F G I J L M N U 

Copyright © 2013 by mTLD Top Level Domain Limited. All rights reserved. Portions copyright © 2008 by Argo Interactive Limited. Portions copyright © 2008 by Nokia Inc. Portions copyright © 2008 by Telecom Italia Mobile S.p.A. Portions copyright © 2008 by Volantis Systems Limited. Portions copyright © 2002-2008 by Andreas Staeding. Portions copyright © 2008 by Zandan.