|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.android.sdklib.repositoryv2.targets.SystemImage
public class SystemImage
ISystemImage based on a RepoPackage (either system image, platform, or addon).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.android.sdklib.ISystemImage |
|---|
ISystemImage.LocationType |
| Field Summary | |
|---|---|
static IdDisplay |
DEFAULT_TAG
Tag to apply to system images if none other is specified. |
| Constructor Summary | |
|---|---|
SystemImage(java.io.File location,
IdDisplay tag,
IdDisplay vendor,
java.lang.String abi,
java.io.File[] skins,
com.android.repository.api.RepoPackage pkg)
|
|
| Method Summary | |
|---|---|
int |
compareTo(ISystemImage o)
|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getAbiType()
Returns the ABI type. |
IdDisplay |
getAddonVendor()
Returns the vendor for an add-on's system image, or null for a platform system-image. |
com.android.sdklib.AndroidVersion |
getAndroidVersion()
Returns the AndroidVersion of this system image. |
java.io.File |
getLocation()
Returns the actual location of an installed system image. |
com.android.repository.api.RepoPackage |
getPackage()
|
com.android.repository.Revision |
getRevision()
Returns the revision of this system image. |
java.io.File[] |
getSkins()
Returns the skins embedded in the system image. |
IdDisplay |
getTag()
Returns the tag of the system image. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final IdDisplay DEFAULT_TAG
| Constructor Detail |
|---|
public SystemImage(@NonNull
java.io.File location,
@Nullable
IdDisplay tag,
@Nullable
IdDisplay vendor,
@NonNull
java.lang.String abi,
@NonNull
java.io.File[] skins,
@NonNull
com.android.repository.api.RepoPackage pkg)
| Method Detail |
|---|
@NonNull public java.io.File getLocation()
ISystemImage
getLocation in interface ISystemImage@NonNull public IdDisplay getTag()
ISystemImage
getTag in interface ISystemImage@Nullable public IdDisplay getAddonVendor()
ISystemImage
getAddonVendor in interface ISystemImage@NonNull public java.lang.String getAbiType()
ISystemImageAbi for a full list.
Cannot be null nor empty.
getAbiType in interface ISystemImage@NonNull public java.io.File[] getSkins()
ISystemImageISystemImage.LocationType.IN_SYSTEM_IMAGE. IAndroidTarget.getSkins() list.
getSkins in interface ISystemImage@NonNull public com.android.sdklib.AndroidVersion getAndroidVersion()
ISystemImageAndroidVersion of this system image.
getAndroidVersion in interface ISystemImage@NonNull public com.android.repository.api.RepoPackage getPackage()
public int compareTo(ISystemImage o)
compareTo in interface java.lang.Comparable<ISystemImage>public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object@NonNull public com.android.repository.Revision getRevision()
ISystemImage
getRevision in interface ISystemImage
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||