|
|||||||||
| 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,
long downloadSize)
|
|
| 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. |
long |
getDownloadSize()
Returns the size (in bytes) of all the archives that make up this package. |
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,
long downloadSize)
| Method Detail |
|---|
@NonNull public IPkgDesc getDesc()
@NonNull public com.android.sdklib.internal.repository.IDescription getSourceUri()
public long getDownloadSize()
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.Objectpublic boolean equals(java.lang.Object obj)
IPkgDesc.
The source is not used in the comparison.
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getListDescription()
getListDescription in interface com.android.sdklib.internal.repository.IListDescriptionpublic java.lang.String getShortDescription()
getShortDescription in interface com.android.sdklib.internal.repository.IDescriptionpublic 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 | ||||||||