com.android.sdklib.repository.local
Class LocalSourcePkgInfo

java.lang.Object
  extended by com.android.sdklib.repository.local.LocalPkgInfo
      extended by com.android.sdklib.repository.local.LocalSourcePkgInfo
All Implemented Interfaces:
IDescription, IListDescription, java.lang.Comparable<LocalPkgInfo>

public class LocalSourcePkgInfo
extends LocalPkgInfo

Local source 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.


Constructor Summary
LocalSourcePkgInfo(LocalSdk localSdk, java.io.File localDir, java.util.Properties sourceProps, AndroidVersion version, com.android.repository.Revision revision)
           
 
Method Summary
 IPkgDesc getDesc()
          Returns the IPkgDesc describing this package.
 
Methods inherited from class com.android.sdklib.repository.local.LocalPkgInfo
compareTo, delete, equals, getListDescription, getLoadError, getLocalDir, getLocalSdk, getLongDescription, getShortDescription, getSourceProperties, hashCode, hasLoadError, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalSourcePkgInfo

public LocalSourcePkgInfo(@NonNull
                          LocalSdk localSdk,
                          @NonNull
                          java.io.File localDir,
                          @NonNull
                          java.util.Properties sourceProps,
                          @NonNull
                          AndroidVersion version,
                          @NonNull
                          com.android.repository.Revision revision)
Method Detail

getDesc

@NonNull
public IPkgDesc getDesc()
Description copied from class: LocalPkgInfo
Returns the IPkgDesc describing this package.

Specified by:
getDesc in class LocalPkgInfo