com.android.sdklib.repository
Class SdkAddonsListConstants

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

Deprecated. moved to studio

@Deprecated
public class SdkAddonsListConstants
extends java.lang.Object

Public constants for the sdk-addons-list XML Schema.


Field Summary
static java.lang.String NODE_ADDON_SITE
          Deprecated. An add-on site.
static java.lang.String NODE_NAME
          Deprecated. The UI-visible name of the add-on site.
static java.lang.String NODE_SDK_ADDONS_LIST
          Deprecated. The root sdk-addons-list element
static java.lang.String NODE_SYS_IMG_SITE
          Deprecated. A system image site.
static java.lang.String NODE_URL
          Deprecated. The URL of the site.
static int NS_LATEST_VERSION
          Deprecated. The latest version of the sdk-addons-list XML Schema.
static java.lang.String NS_PATTERN
          Deprecated. The pattern of our sdk-addons-list XML namespace.
static java.lang.String NS_URI
          Deprecated. The XML namespace of the latest sdk-addons-list XML.
static java.lang.String URL_ADDON_LIST
          Deprecated. The URL where to find the official addons list fle.
static java.lang.String URL_DEFAULT_FILENAME
          Deprecated. The canonical URL filename for addons-list XML files.
 
Constructor Summary
SdkAddonsListConstants()
          Deprecated.  
 
Method Summary
static java.lang.String getDefaultName(int version)
          Deprecated.  
static java.lang.String getSchemaUri(int version)
          Deprecated. Returns the URI of the sdk-addon schema for the given version number.
static java.io.InputStream getXsdStream(int version)
          Deprecated. Returns a stream to the requested sdk-addon XML Schema.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NS_PATTERN

public static final java.lang.String NS_PATTERN
Deprecated. 
The pattern of our sdk-addons-list 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-addons-list 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-addons-list XML.


URL_DEFAULT_FILENAME

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


URL_ADDON_LIST

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


NODE_SDK_ADDONS_LIST

public static final java.lang.String NODE_SDK_ADDONS_LIST
Deprecated. 
The root sdk-addons-list element

See Also:
Constant Field Values

NODE_ADDON_SITE

public static final java.lang.String NODE_ADDON_SITE
Deprecated. 
An add-on site.

See Also:
Constant Field Values

NODE_SYS_IMG_SITE

public static final java.lang.String NODE_SYS_IMG_SITE
Deprecated. 
A system image site.

See Also:
Constant Field Values

NODE_NAME

public static final java.lang.String NODE_NAME
Deprecated. 
The UI-visible name of the add-on site.

See Also:
Constant Field Values

NODE_URL

public static final java.lang.String NODE_URL
Deprecated. 
The URL of the site.

This can be either the exact URL of the an XML resource conforming to the latest sdk-addon-N.xsd schema, or it can be the URL of a 'directory', in which case the manager will look for a resource named 'addon.xml' at this location.

Examples:

    http://www.example.com/android/my_addons.xml
  or
    http://www.example.com/android/
 
In the second example, the manager will actually look for http://www.example.com/android/addon.xml

See Also:
Constant Field Values
Constructor Detail

SdkAddonsListConstants

public SdkAddonsListConstants()
Deprecated. 
Method Detail

getXsdStream

public static java.io.InputStream getXsdStream(int version)
Deprecated. 
Returns a stream to the requested sdk-addon 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-addon schema for the given version number.

Parameters:
version - Between 1 and NS_LATEST_VERSION included.

getDefaultName

public static java.lang.String getDefaultName(int version)
Deprecated.