com.android.sdklib.repository
Class AddonManifestIniProps

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

public class AddonManifestIniProps
extends java.lang.Object

This class describes the properties that can appear in an add-on's manifest.ini file.

These constants are public and part of the SDK Manager public API. Once published we can't change them arbitrarily since various parts of our build process depend on them.


Field Summary
static java.lang.String ADDON_API
          The API level of the add-on, always an integer.
static java.lang.String ADDON_DEFAULT_SKIN
          An optional default skin string of the add-on.
static java.lang.String ADDON_DESCRIPTION
          The free description string of the add-on.
static java.lang.String ADDON_LIBRARIES
          The list of libraries of the add-on.
static java.lang.String ADDON_NAME
          The display name of the add-on.
static java.lang.String ADDON_NAME_ID
          The optional "name id" of the add-on.
static java.lang.String ADDON_REVISION
          The revision of the add-on.
static java.lang.String ADDON_REVISION_OLD
          An older/obsolete attribute for the revision of the add-on.
static java.lang.String ADDON_USB_VENDOR
          An optional USB vendor string for the add-on.
static java.lang.String ADDON_VENDOR
          The display vendor of the add-on.
static java.lang.String ADDON_VENDOR_ID
          The optional vendor id of the add-on.
 
Constructor Summary
AddonManifestIniProps()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ADDON_NAME

public static final java.lang.String ADDON_NAME
The display name of the add-on. Always present.
In source.properties, this matches PkgProps.ADDON_NAME_DISPLAY.

See Also:
Constant Field Values

ADDON_NAME_ID

public static final java.lang.String ADDON_NAME_ID
The optional "name id" of the add-on.
In source.properties, this matches PkgProps.ADDON_NAME_ID.

Historically the manifest used to have only a 'name' property for both internal unique id and display, in which case the internal id was synthesized using the display name and matching a [a-zA-Z0-9_-]+ pattern (see Addonpackage#sanitizeDisplayToNameId for details.)

See Also:
Constant Field Values

ADDON_VENDOR

public static final java.lang.String ADDON_VENDOR
The display vendor of the add-on. Always present.
In source.properties, this matches PkgProps.ADDON_VENDOR_DISPLAY.

See Also:
Constant Field Values

ADDON_VENDOR_ID

public static final java.lang.String ADDON_VENDOR_ID
The optional vendor id of the add-on.
In source.properties, this matches PkgProps.ADDON_VENDOR_ID.

Historically the manifest used to have only a 'vendor' property for both internal unique id and display, in which case the internal id was synthesized using the display name and matching a [a-zA-Z0-9_-]+ pattern (see Addonpackage#sanitizeDisplayToNameId for details.)

See Also:
Constant Field Values

ADDON_DESCRIPTION

public static final java.lang.String ADDON_DESCRIPTION
The free description string of the add-on.
Not saved in source.properties.

See Also:
Constant Field Values

ADDON_REVISION

public static final java.lang.String ADDON_REVISION
The revision of the add-on.
In source.properties, this matches PkgProps.PKG_REVISION.

See Also:
Constant Field Values

ADDON_REVISION_OLD

public static final java.lang.String ADDON_REVISION_OLD
An older/obsolete attribute for the revision of the add-on.
The name was changed as it is ambiguous (platform version vs platform revision.)

See Also:
Constant Field Values

ADDON_API

public static final java.lang.String ADDON_API
The API level of the add-on, always an integer.
Note: add-ons do not currently support API codenames.
In source.properties, this matches PkgProps.VERSION_API_LEVEL.

See Also:
Constant Field Values

ADDON_LIBRARIES

public static final java.lang.String ADDON_LIBRARIES
The list of libraries of the add-on.
This is a string in the format "java.package1;java.package2;...java.packageN". For each library's java package name, the manifest.ini contains a key with value "library.jar;Jar Description String". Example:
 libraries=com.example.foo;com.example.bar
 com.example.foo=foo.jar;Foo Library
 com.example.bar=bar.jar;Bar Library
 
Not saved in source.properties.

See Also:
Constant Field Values

ADDON_DEFAULT_SKIN

public static final java.lang.String ADDON_DEFAULT_SKIN
An optional default skin string of the add-on.
Not saved in source.properties.

See Also:
Constant Field Values

ADDON_USB_VENDOR

public static final java.lang.String ADDON_USB_VENDOR
An optional USB vendor string for the add-on.
Not saved in source.properties.

See Also:
Constant Field Values
Constructor Detail

AddonManifestIniProps

public AddonManifestIniProps()