com.android.sdklib.repository.local
Class LocalPlatformPkgInfo

java.lang.Object
  extended by com.android.sdklib.repository.local.LocalPkgInfo
      extended by com.android.sdklib.repository.local.LocalPlatformPkgInfo
All Implemented Interfaces:
java.lang.Comparable<LocalPkgInfo>
Direct Known Subclasses:
LocalAddonPkgInfo

public class LocalPlatformPkgInfo
extends LocalPkgInfo


Field Summary
static java.lang.String PROP_VERSION_CODENAME
           
static java.lang.String PROP_VERSION_RELEASE
           
static java.lang.String PROP_VERSION_SDK
           
 
Constructor Summary
LocalPlatformPkgInfo(LocalSdk localSdk, java.io.File localDir, java.util.Properties sourceProps, com.android.sdklib.AndroidVersion version, com.android.repository.Revision revision, com.android.repository.Revision minToolsRev)
           
 
Method Summary
 IPkgDesc getDesc()
          Returns the IPkgDesc describing this package.
 int getLayoutlibApi()
           
 java.lang.String getTargetHash()
          The "path" of a Platform is its Target Hash.
 
Methods inherited from class com.android.sdklib.repository.local.LocalPkgInfo
compareTo, delete, equals, getListDescription, getLoadError, getLocalDir, getLocalSdk, getSourceProperties, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PROP_VERSION_SDK

public static final java.lang.String PROP_VERSION_SDK
See Also:
Constant Field Values

PROP_VERSION_CODENAME

public static final java.lang.String PROP_VERSION_CODENAME
See Also:
Constant Field Values

PROP_VERSION_RELEASE

public static final java.lang.String PROP_VERSION_RELEASE
See Also:
Constant Field Values
Constructor Detail

LocalPlatformPkgInfo

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

getDesc

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

Specified by:
getDesc in class LocalPkgInfo

getTargetHash

@NonNull
public java.lang.String getTargetHash()
The "path" of a Platform is its Target Hash.


getLayoutlibApi

public int getLayoutlibApi()