public class SdkStatsConstants
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NODE_API_LEVEL
The Android API Level for the platform.
|
static java.lang.String |
NODE_CODENAME
The official codename for this platform, for example "Cupcake".
|
static java.lang.String |
NODE_PLATFORM
A platform stat.
|
static java.lang.String |
NODE_SDK_STATS
The root sdk-stats element
|
static java.lang.String |
NODE_SHARE
The approximate share percentage of that platform.
|
static java.lang.String |
NODE_VERSION
The official version name of this platform, for example "Android 1.5".
|
static int |
NS_LATEST_VERSION
The latest version of the sdk-stats XML Schema.
|
static java.lang.String |
NS_PATTERN
The pattern of our sdk-stats XML namespace.
|
static java.lang.String |
NS_URI
The XML namespace of the latest sdk-stats XML.
|
static java.lang.String |
URL_DEFAULT_FILENAME
The canonical URL filename for addons-list XML files.
|
static java.lang.String |
URL_STATS
The URL where to find the official addons list fle.
|
| Constructor and Description |
|---|
SdkStatsConstants() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getSchemaUri(int version)
Returns the URI of the sdk-stats schema for the given version number.
|
static java.io.InputStream |
getXsdStream(int version)
Returns a stream to the requested sdk-stats XML Schema.
|
public static final java.lang.String URL_DEFAULT_FILENAME
public static final java.lang.String URL_STATS
public static final java.lang.String NS_PATTERN
public static final int NS_LATEST_VERSION
public static final java.lang.String NS_URI
public static final java.lang.String NODE_SDK_STATS
public static final java.lang.String NODE_PLATFORM
public static final java.lang.String NODE_API_LEVEL
public static final java.lang.String NODE_CODENAME
public static final java.lang.String NODE_VERSION
public static final java.lang.String NODE_SHARE
public static java.io.InputStream getXsdStream(int version)
version - Between 1 and NS_LATEST_VERSION, included.InputStream object for the local XSD file or
null if there is no schema for the requested version.public static java.lang.String getSchemaUri(int version)
version - Between 1 and NS_LATEST_VERSION included.