The DeviceAtlas CarrierApi documentation
1.1
|
Mobi | |
Mtld | |
DA | |
Carrier | |
CarrierApiWeb | |
ByteReader | This class wraps a ByteBuffer to get data from a byte[] array. All numeric values are read in little endian byte order |
CarrierApi | |
NamespaceDoc | DeviceAtlas Carrier API |
Exception | |
ClientPropertiesException | 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. |
DataFileException | The DataFileException is thrown if there is a problem loading the data file. |
DataReadException | The DataReadException is thrown if there is a problem loading the data from stream. |
IncorrectPropertyException | 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. |
IncorrectPropertyTypeException | 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. |
InvalidPropertyException | 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. |
InvalidPropertyNameException | The InvalidPropertyNameException is thrown when an attempt is made to get a property using a property name that does not exist. This typically happens if the property name is misspelled. A full list of possible property names can be found using the GetPropertyNames() method of CarrierApi. |
JsonException | The JsonException is thrown by the Json class or the Api class when there is an error parsing the Json. |
MissingDataException | The MissingDataException is thrown if a data file was not loaded before a call to methods like GetProperties(String ip) or GetPropertyNames(); |
UnknownHostException | The MissingDataException is thrown if a data file was not loaded before a call to methods like GetProperties(string ip) or GetPropertyNames(); |
UnknownPropertyException | The UnknownPropertyException is thrown by the Api class when there is an attemp to fetch a property unknown to the tree. |
DataType | The data types for various properties. Each Property object returned has a getDataType() method. |
Properties | Maps dtring property names to Property objects. An instance of this class is returned for every GetProperties() lookup that matches an IP. |
Property | Contains a property value. The value can be fetched as a generic Object or one of the convenience asXXXX methods can be used to get the value in a specific type. |
PropertyName | Contains a property name and the expected data type of values associated with this name. This is returned in a Set when the method getPropertyNames() is called. |