|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.android.sdklib.repository.remote.RemotePkgInfo
public class RemotePkgInfo
This class provides information on a remote package available for download via a remote SDK repository server.
Constructor Summary | |
---|---|
RemotePkgInfo(IPkgDesc pkgDesc,
com.android.sdklib.internal.repository.IDescription sourceUri)
|
Method Summary | |
---|---|
int |
compareTo(RemotePkgInfo o)
Compares 2 packages by comparing their IPkgDesc . |
boolean |
equals(java.lang.Object obj)
Compares 2 packages by comparing their IPkgDesc . |
IPkgDesc |
getDesc()
Information on the package provided by the remote server. |
java.lang.String |
getListDescription()
|
java.lang.String |
getLongDescription()
|
java.lang.String |
getShortDescription()
|
com.android.sdklib.internal.repository.IDescription |
getSourceUri()
Returns the source identifier of the remote package. |
int |
hashCode()
The remote package hash code is based on the underlying IPkgDesc . |
java.lang.String |
toString()
String representation for debugging purposes. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RemotePkgInfo(@NonNull IPkgDesc pkgDesc, @NonNull com.android.sdklib.internal.repository.IDescription sourceUri)
Method Detail |
---|
@NonNull public IPkgDesc getDesc()
@NonNull public com.android.sdklib.internal.repository.IDescription getSourceUri()
public int compareTo(@NonNull RemotePkgInfo o)
IPkgDesc
.
The source is not used in the comparison.
compareTo
in interface java.lang.Comparable<RemotePkgInfo>
public int hashCode()
IPkgDesc
.
The source is not used in the hash code.
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
IPkgDesc
.
The source is not used in the comparison.
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getListDescription()
getListDescription
in interface com.android.sdklib.internal.repository.IListDescription
public java.lang.String getShortDescription()
getShortDescription
in interface com.android.sdklib.internal.repository.IDescription
public java.lang.String getLongDescription()
getLongDescription
in interface com.android.sdklib.internal.repository.IDescription
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |