|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.android.sdklib.repository.SdkStatsConstants
public class SdkStatsConstants
Public constants for the sdk-stats XML Schema.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
SdkStatsConstants()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public SdkStatsConstants()
| Method Detail |
|---|
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||