com.android.sdklib.repository.local
Class LocalSamplePkgInfo
java.lang.Object
com.android.sdklib.repository.local.LocalPkgInfo
com.android.sdklib.repository.local.LocalSamplePkgInfo
- All Implemented Interfaces:
- com.android.sdklib.internal.repository.IListDescription, java.lang.Comparable<LocalPkgInfo>
public class LocalSamplePkgInfo
- extends LocalPkgInfo
Local sample package, for a given platform's AndroidVersion
.
The package itself has a major revision.
There should be only one for a given android platform version.
Methods inherited from class com.android.sdklib.repository.local.LocalPkgInfo |
compareTo, equals, getListDescription, getLoadError, getLocalDir, getLocalSdk, getSourceProperties, getUpdate, hashCode, hasLoadError, hasUpdate, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
LocalSamplePkgInfo
public LocalSamplePkgInfo(@NonNull
LocalSdk localSdk,
@NonNull
java.io.File localDir,
@NonNull
java.util.Properties sourceProps,
@NonNull
AndroidVersion version,
@NonNull
MajorRevision revision,
@NonNull
FullRevision minToolsRev)
getDesc
@NonNull
public IPkgDesc getDesc()
- Description copied from class:
LocalPkgInfo
- Returns the
IPkgDesc
describing this package.
- Specified by:
getDesc
in class LocalPkgInfo
getPackage
@Nullable
public com.android.sdklib.internal.repository.packages.Package getPackage()
- Overrides:
getPackage
in class LocalPkgInfo