|
The DeviceAtlas CarrierApi documentation
1.1
|
| This class wraps a ByteBuffer to get data from a byte[] array. All numeric values are read in little endian byte order | |
| The data types for various properties. Each Property object returned has a getDataType() method. | |
| Maps dtring property names to Property objects. An instance of this class is returned for every GetProperties() lookup that matches an IP. | |
| 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. | |
| The DataFileException is thrown if there is a problem loading the data file. | |
| The DataReadException is thrown if there is a problem loading the data from stream. | |
| 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. | |
| 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. | |
| 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. | |
| 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. | |
| The JsonException is thrown by the Json class or the Api class when there is an error parsing the Json. | |
| The MissingDataException is thrown if a data file was not loaded before a call to methods like GetProperties(String ip) or GetPropertyNames(); | |
| The MissingDataException is thrown if a data file was not loaded before a call to methods like GetProperties(string ip) or GetPropertyNames(); | |
| The UnknownPropertyException is thrown by the Api class when there is an attemp to fetch a property unknown to the tree. | |
| DeviceAtlas Carrier API | |
| 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. | |
| 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. |
1.8.6