com.android.sdklib.repository
Class RepoConstants

java.lang.Object
  extended by com.android.sdklib.repository.RepoConstants
Direct Known Subclasses:
SdkAddonConstants, SdkRepoConstants, SdkSysImgConstants

Deprecated. moved to studio

@Deprecated
public class RepoConstants
extends java.lang.Object

Public constants common to the sdk-repository and sdk-addon XML Schemas.


Field Summary
static java.lang.String ATTR_ID
          Deprecated. A license definition ID.
static java.lang.String ATTR_REF
          Deprecated. A license reference.
static java.lang.String ATTR_TYPE
          Deprecated. An archive checksum type, mandatory.
static java.lang.String FD_TEMP
          Deprecated. Temporary folder used to hold downloads and extract archives during installation.
static java.lang.String LEGACY_ATTR_ARCH
          Deprecated. An optional archive Architecture attribute.
static java.lang.String LEGACY_ATTR_OS
          Deprecated. An archive OS attribute, mandatory.
static java.lang.String NODE_ABI
          Deprecated.  
static java.lang.String NODE_ABI_INCLUDED
          Deprecated.  
static java.lang.String NODE_API
          Deprecated. The API integer for a layoutlib element.
static java.lang.String NODE_API_LEVEL
          Deprecated. The api-level, an int > 0, for platform, add-on and doc packages.
static java.lang.String NODE_ARCHIVE
          Deprecated. An archive element, for the archives container.
static java.lang.String NODE_ARCHIVES
          Deprecated. The archives container, for all packages.
static java.lang.String NODE_CHECKSUM
          Deprecated. A sha1 archive checksum, as a 40-char hex.
static java.lang.String NODE_CODENAME
          Deprecated. The codename, a string, for platform packages.
static java.lang.String NODE_DESC_URL
          Deprecated. The optional description URL for all packages.
static java.lang.String NODE_DESCRIPTION
          Deprecated. The optional description for all packages or for a lib.
static java.lang.String NODE_HOST_BITS
          Deprecated. Optional element to indicate an archive is only suitable for the specified host bit size.
Values: 32 | 64.
static java.lang.String NODE_HOST_OS
          Deprecated. Optional element to indicate an archive is only suitable for the specified OS.
static java.lang.String NODE_JVM_BITS
          Deprecated. Optional element to indicate an archive is only suitable for the specified JVM bit size.
Values: 32 | 64.
static java.lang.String NODE_LAYOUT_LIB
          Deprecated. A layoutlib package.
static java.lang.String NODE_LIB
          Deprecated. A lib element in a libs container.
static java.lang.String NODE_LIBS
          Deprecated. The libs container, optional for an add-on.
static java.lang.String NODE_LICENSE
          Deprecated. The license definition.
static java.lang.String NODE_LIST_DISPLAY
          Deprecated. The optional string used to display a package in a list view.
static java.lang.String NODE_MIN_API_LEVEL
          Deprecated. The optional minimal API level required by extra packages.
static java.lang.String NODE_MIN_JVM_VERSION
          Deprecated. Optional element to indicate an archive is only suitable for a JVM equal or greater than the specified value.
static java.lang.String NODE_MIN_PLATFORM_TOOLS_REV
          Deprecated. The optional minimal platform-tools revision required by tool packages.
static java.lang.String NODE_MIN_TOOLS_REV
          Deprecated. The optional minimal tools revision required by platform & extra packages.
static java.lang.String NODE_NAME
          Deprecated. The name, a string, for add-on packages or for libraries.
static java.lang.String NODE_NAME_DISPLAY
          Deprecated. The name display string, for add-on packages or for libraries.
static java.lang.String NODE_NAME_ID
          Deprecated. The unique name id string, for add-on packages or for libraries.
static java.lang.String NODE_OBSOLETE
          Deprecated. The optional obsolete qualifier for all packages.
static java.lang.String NODE_OLD_PATHS
          Deprecated. The old_path segments, a string, for extra packages.
static java.lang.String NODE_PATH
          Deprecated. The path segment, a string, for extra packages.
static java.lang.String NODE_PROJECT_FILES
          Deprecated. The optional project-files provided by extra packages.
static java.lang.String NODE_RELEASE_NOTE
          Deprecated. The optional release note for all packages.
static java.lang.String NODE_RELEASE_URL
          Deprecated. The optional release note URL for all packages.
static java.lang.String NODE_REVISION
          Deprecated. The revision, an int > 0, for all packages.
static java.lang.String NODE_SIZE
          Deprecated. An archive size, an int > 0.
static java.lang.String NODE_SYSTEM_IMAGE
          Deprecated. A system-image package.
static java.lang.String NODE_URL
          Deprecated. A download archive URL, either absolute or relative to the repository xml.
static java.lang.String NODE_USES_LICENSE
          Deprecated. The optional uses-license for all packages or for a lib.
static java.lang.String NODE_VENDOR
          Deprecated. The *old* vendor, a string, for add-on and extra packages.
static java.lang.String NODE_VENDOR_DISPLAY
          Deprecated. The vendor display string, for add-on and extra packages.
static java.lang.String NODE_VENDOR_ID
          Deprecated. The unique vendor id string, for add-on and extra packages.
static java.lang.String NODE_VERSION
          Deprecated. The version, a string, for platform packages.
static int SHA1_CHECKSUM_LEN
          Deprecated. Length of a string representing a SHA1 checksum; always 40 characters long.
static java.lang.String SHA1_TYPE
          Deprecated. Type of a sha1 checksum.
 
Constructor Summary
RepoConstants()
          Deprecated.  
 
Method Summary
protected static java.io.InputStream getXsdStream(java.lang.String rootElement, int version)
          Deprecated. Returns a stream to the requested XML Schema.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NODE_LICENSE

public static final java.lang.String NODE_LICENSE
Deprecated. 
The license definition.

See Also:
Constant Field Values

NODE_USES_LICENSE

public static final java.lang.String NODE_USES_LICENSE
Deprecated. 
The optional uses-license for all packages or for a lib.

See Also:
Constant Field Values

NODE_REVISION

public static final java.lang.String NODE_REVISION
Deprecated. 
The revision, an int > 0, for all packages.

See Also:
Constant Field Values

NODE_DESCRIPTION

public static final java.lang.String NODE_DESCRIPTION
Deprecated. 
The optional description for all packages or for a lib.

See Also:
Constant Field Values

NODE_DESC_URL

public static final java.lang.String NODE_DESC_URL
Deprecated. 
The optional description URL for all packages.

See Also:
Constant Field Values

NODE_RELEASE_NOTE

public static final java.lang.String NODE_RELEASE_NOTE
Deprecated. 
The optional release note for all packages.

See Also:
Constant Field Values

NODE_RELEASE_URL

public static final java.lang.String NODE_RELEASE_URL
Deprecated. 
The optional release note URL for all packages.

See Also:
Constant Field Values

NODE_OBSOLETE

public static final java.lang.String NODE_OBSOLETE
Deprecated. 
The optional obsolete qualifier for all packages.

See Also:
Constant Field Values

NODE_PROJECT_FILES

public static final java.lang.String NODE_PROJECT_FILES
Deprecated. 
The optional project-files provided by extra packages.

See Also:
Constant Field Values

NODE_SYSTEM_IMAGE

public static final java.lang.String NODE_SYSTEM_IMAGE
Deprecated. 
A system-image package.

See Also:
Constant Field Values

NODE_ABI_INCLUDED

public static final java.lang.String NODE_ABI_INCLUDED
Deprecated. 
See Also:
Constant Field Values

NODE_ABI

public static final java.lang.String NODE_ABI
Deprecated. 
See Also:
Constant Field Values

NODE_MIN_TOOLS_REV

public static final java.lang.String NODE_MIN_TOOLS_REV
Deprecated. 
The optional minimal tools revision required by platform & extra packages.

See Also:
Constant Field Values

NODE_MIN_PLATFORM_TOOLS_REV

public static final java.lang.String NODE_MIN_PLATFORM_TOOLS_REV
Deprecated. 
The optional minimal platform-tools revision required by tool packages.

See Also:
Constant Field Values

NODE_MIN_API_LEVEL

public static final java.lang.String NODE_MIN_API_LEVEL
Deprecated. 
The optional minimal API level required by extra packages.

See Also:
Constant Field Values

NODE_VERSION

public static final java.lang.String NODE_VERSION
Deprecated. 
The version, a string, for platform packages.

See Also:
Constant Field Values

NODE_API_LEVEL

public static final java.lang.String NODE_API_LEVEL
Deprecated. 
The api-level, an int > 0, for platform, add-on and doc packages.

See Also:
Constant Field Values

NODE_CODENAME

public static final java.lang.String NODE_CODENAME
Deprecated. 
The codename, a string, for platform packages.

See Also:
Constant Field Values

NODE_VENDOR

public static final java.lang.String NODE_VENDOR
Deprecated. 
The *old* vendor, a string, for add-on and extra packages. Replaced by NODE_VENDOR_DISPLAY and NODE_VENDOR_ID in addon-v4.xsd.

See Also:
Constant Field Values

NODE_VENDOR_DISPLAY

public static final java.lang.String NODE_VENDOR_DISPLAY
Deprecated. 
The vendor display string, for add-on and extra packages.

See Also:
Constant Field Values

NODE_VENDOR_ID

public static final java.lang.String NODE_VENDOR_ID
Deprecated. 
The unique vendor id string, for add-on and extra packages.

See Also:
Constant Field Values

NODE_NAME

public static final java.lang.String NODE_NAME
Deprecated. 
The name, a string, for add-on packages or for libraries. Replaced by NODE_NAME_DISPLAY and NODE_NAME_ID in addon-v4.xsd.

See Also:
Constant Field Values

NODE_NAME_DISPLAY

public static final java.lang.String NODE_NAME_DISPLAY
Deprecated. 
The name display string, for add-on packages or for libraries.

See Also:
Constant Field Values

NODE_NAME_ID

public static final java.lang.String NODE_NAME_ID
Deprecated. 
The unique name id string, for add-on packages or for libraries.

See Also:
Constant Field Values

NODE_LIST_DISPLAY

public static final java.lang.String NODE_LIST_DISPLAY
Deprecated. 
The optional string used to display a package in a list view.

See Also:
Constant Field Values

NODE_LAYOUT_LIB

public static final java.lang.String NODE_LAYOUT_LIB
Deprecated. 
A layoutlib package.

See Also:
Constant Field Values

NODE_API

public static final java.lang.String NODE_API
Deprecated. 
The API integer for a layoutlib element.

See Also:
Constant Field Values

NODE_LIBS

public static final java.lang.String NODE_LIBS
Deprecated. 
The libs container, optional for an add-on.

See Also:
Constant Field Values

NODE_LIB

public static final java.lang.String NODE_LIB
Deprecated. 
A lib element in a libs container.

See Also:
Constant Field Values

NODE_PATH

public static final java.lang.String NODE_PATH
Deprecated. 
The path segment, a string, for extra packages.

See Also:
Constant Field Values

NODE_OLD_PATHS

public static final java.lang.String NODE_OLD_PATHS
Deprecated. 
The old_path segments, a string, for extra packages.

See Also:
Constant Field Values

NODE_ARCHIVES

public static final java.lang.String NODE_ARCHIVES
Deprecated. 
The archives container, for all packages.

See Also:
Constant Field Values

NODE_ARCHIVE

public static final java.lang.String NODE_ARCHIVE
Deprecated. 
An archive element, for the archives container.

See Also:
Constant Field Values

NODE_SIZE

public static final java.lang.String NODE_SIZE
Deprecated. 
An archive size, an int > 0.

See Also:
Constant Field Values

NODE_CHECKSUM

public static final java.lang.String NODE_CHECKSUM
Deprecated. 
A sha1 archive checksum, as a 40-char hex.

See Also:
Constant Field Values

NODE_URL

public static final java.lang.String NODE_URL
Deprecated. 
A download archive URL, either absolute or relative to the repository xml.

See Also:
Constant Field Values

NODE_HOST_OS

public static final java.lang.String NODE_HOST_OS
Deprecated. 
Optional element to indicate an archive is only suitable for the specified OS.
Values: windows | macosx | linux.

Since:
repo-10, addon-7 and sys-img-3.
See Also:
Constant Field Values

NODE_HOST_BITS

public static final java.lang.String NODE_HOST_BITS
Deprecated. 
Optional element to indicate an archive is only suitable for the specified host bit size.
Values: 32 | 64.

Since:
repo-10, addon-7 and sys-img-3.
See Also:
Constant Field Values

NODE_JVM_BITS

public static final java.lang.String NODE_JVM_BITS
Deprecated. 
Optional element to indicate an archive is only suitable for the specified JVM bit size.
Values: 32 | 64.

Since:
repo-10, addon-7 and sys-img-3.
See Also:
Constant Field Values

NODE_MIN_JVM_VERSION

public static final java.lang.String NODE_MIN_JVM_VERSION
Deprecated. 
Optional element to indicate an archive is only suitable for a JVM equal or greater than the specified value.
Value format: [1-9](\.[0-9]{1,2}){0,2}, e.g. "1.6", "1.7.0", "1.10" or "2"

Since:
repo-10, addon-7 and sys-img-3.
See Also:
Constant Field Values

ATTR_TYPE

public static final java.lang.String ATTR_TYPE
Deprecated. 
An archive checksum type, mandatory.

See Also:
Constant Field Values

LEGACY_ATTR_OS

public static final java.lang.String LEGACY_ATTR_OS
Deprecated. 
An archive OS attribute, mandatory.
Use NODE_HOST_OS instead in repo-10, addon-7 and sys-img-3.

See Also:
Constant Field Values

LEGACY_ATTR_ARCH

public static final java.lang.String LEGACY_ATTR_ARCH
Deprecated. 
An optional archive Architecture attribute.
Use NODE_JVM_BITS instead in repo-10, addon-7 and sys-img-3.

See Also:
Constant Field Values

ATTR_ID

public static final java.lang.String ATTR_ID
Deprecated. 
A license definition ID.

See Also:
Constant Field Values

ATTR_REF

public static final java.lang.String ATTR_REF
Deprecated. 
A license reference.

See Also:
Constant Field Values

SHA1_TYPE

public static final java.lang.String SHA1_TYPE
Deprecated. 
Type of a sha1 checksum.

See Also:
Constant Field Values

SHA1_CHECKSUM_LEN

public static final int SHA1_CHECKSUM_LEN
Deprecated. 
Length of a string representing a SHA1 checksum; always 40 characters long.

See Also:
Constant Field Values

FD_TEMP

public static final java.lang.String FD_TEMP
Deprecated. 
Temporary folder used to hold downloads and extract archives during installation. This folder will be located in the SDK.

See Also:
Constant Field Values
Constructor Detail

RepoConstants

public RepoConstants()
Deprecated. 
Method Detail

getXsdStream

protected static java.io.InputStream getXsdStream(java.lang.String rootElement,
                                                  int version)
Deprecated. 
Returns a stream to the requested XML Schema. This is an internal helper. Users of the library should call getXsdStream(String, int) or getXsdStream(String, int).

Parameters:
rootElement - The root of the filename of the XML schema. This is by convention the same as the root element declared by the schema.
version - The XML schema revision number, an integer >= 1.
Returns:
An InputStream object for the local XSD file or null if there is no schema for the requested version.
See Also:
SdkRepoConstants.getXsdStream(int), SdkAddonConstants.getXsdStream(int)