com.android.sdklib.repository
Class SdkStatsConstants

java.lang.Object
  extended by com.android.sdklib.repository.SdkStatsConstants

Deprecated. moved to studio

@Deprecated
public class SdkStatsConstants
extends java.lang.Object

Public constants for the sdk-stats XML Schema.


Field Summary
static java.lang.String NODE_API_LEVEL
          Deprecated. The Android API Level for the platform.
static java.lang.String NODE_CODENAME
          Deprecated. The official codename for this platform, for example "Cupcake".
static java.lang.String NODE_PLATFORM
          Deprecated. A platform stat.
static java.lang.String NODE_SDK_STATS
          Deprecated. The root sdk-stats element
static java.lang.String NODE_SHARE
          Deprecated. The approximate share percentage of that platform.
static java.lang.String NODE_VERSION
          Deprecated. The official version name of this platform, for example "Android 1.5".
static int NS_LATEST_VERSION
          Deprecated. The latest version of the sdk-stats XML Schema.
static java.lang.String NS_PATTERN
          Deprecated. The pattern of our sdk-stats XML namespace.
static java.lang.String NS_URI
          Deprecated. The XML namespace of the latest sdk-stats XML.
static java.lang.String URL_DEFAULT_FILENAME
          Deprecated. The canonical URL filename for addons-list XML files.
static java.lang.String URL_STATS
          Deprecated. The URL where to find the official addons list fle.
 
Constructor Summary
SdkStatsConstants()
          Deprecated.  
 
Method Summary
static java.lang.String getSchemaUri(int version)
          Deprecated. Returns the URI of the sdk-stats schema for the given version number.
static java.io.InputStream getXsdStream(int version)
          Deprecated. 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

URL_DEFAULT_FILENAME

public static final java.lang.String URL_DEFAULT_FILENAME
Deprecated. 
The canonical URL filename for addons-list XML files.

See Also:
Constant Field Values

URL_STATS

public static final java.lang.String URL_STATS
Deprecated. 
The URL where to find the official addons list fle.

See Also:
Constant Field Values

NS_PATTERN

public static final java.lang.String NS_PATTERN
Deprecated. 
The pattern of our sdk-stats XML namespace. Matcher's group(1) is the schema version (integer).

See Also:
Constant Field Values

NS_LATEST_VERSION

public static final int NS_LATEST_VERSION
Deprecated. 
The latest version of the sdk-stats XML Schema. Valid version numbers are between 1 and this number, included.

See Also:
Constant Field Values

NS_URI

public static final java.lang.String NS_URI
Deprecated. 
The XML namespace of the latest sdk-stats XML.


NODE_SDK_STATS

public static final java.lang.String NODE_SDK_STATS
Deprecated. 
The root sdk-stats element

See Also:
Constant Field Values

NODE_PLATFORM

public static final java.lang.String NODE_PLATFORM
Deprecated. 
A platform stat.

See Also:
Constant Field Values

NODE_API_LEVEL

public static final java.lang.String NODE_API_LEVEL
Deprecated. 
The Android API Level for the platform. An int > 0.

See Also:
Constant Field Values

NODE_CODENAME

public static final java.lang.String NODE_CODENAME
Deprecated. 
The official codename for this platform, for example "Cupcake".

See Also:
Constant Field Values

NODE_VERSION

public static final java.lang.String NODE_VERSION
Deprecated. 
The official version name of this platform, for example "Android 1.5".

See Also:
Constant Field Values

NODE_SHARE

public static final java.lang.String NODE_SHARE
Deprecated. 
The approximate share percentage of that platform. See the caveat in sdk-stats-1.xsd about value freshness and accuracy.

See Also:
Constant Field Values
Constructor Detail

SdkStatsConstants

public SdkStatsConstants()
Deprecated. 
Method Detail

getXsdStream

public static java.io.InputStream getXsdStream(int version)
Deprecated. 
Returns a stream to the requested sdk-stats XML Schema.

Parameters:
version - Between 1 and NS_LATEST_VERSION, included.
Returns:
An InputStream object for the local XSD file or null if there is no schema for the requested version.

getSchemaUri

public static java.lang.String getSchemaUri(int version)
Deprecated. 
Returns the URI of the sdk-stats schema for the given version number.

Parameters:
version - Between 1 and NS_LATEST_VERSION included.