com.android.sdklib.repositoryv2.meta
Class DetailsTypes.Library

java.lang.Object
  extended by com.android.sdklib.repositoryv2.meta.DetailsTypes.Library
All Implemented Interfaces:
IAndroidTarget.OptionalLibrary
Direct Known Subclasses:
LibraryType
Enclosing class:
DetailsTypes

public abstract static class DetailsTypes.Library
extends java.lang.Object
implements IAndroidTarget.OptionalLibrary

Information about a IAndroidTarget.OptionalLibrary provided by a package.


Constructor Summary
DetailsTypes.Library()
           
 
Method Summary
abstract  java.lang.String getDescription()
          User-friendly description of the library.
 java.io.File getJar()
          Absolute path to the library jar file.
abstract  java.lang.String getLocalJarPath()
          Path to the library jar file relative to the libs directory in the package.
abstract  java.lang.String getName()
          The name of the library.
abstract  boolean isManifestEntryRequired()
          Whether a manifest entry is required for this library.
 void setPackagePath(java.io.File packagePath)
          Sets the path of the containing package.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DetailsTypes.Library

public DetailsTypes.Library()
Method Detail

setPackagePath

public void setPackagePath(@NonNull
                           java.io.File packagePath)
Sets the path of the containing package. Must be called before calling getJar().


getJar

@NonNull
public java.io.File getJar()
Absolute path to the library jar file.

Specified by:
getJar in interface IAndroidTarget.OptionalLibrary

getLocalJarPath

@NonNull
public abstract java.lang.String getLocalJarPath()
Path to the library jar file relative to the libs directory in the package.


getName

@NonNull
public abstract java.lang.String getName()
The name of the library.

Specified by:
getName in interface IAndroidTarget.OptionalLibrary

getDescription

@NonNull
public abstract java.lang.String getDescription()
User-friendly description of the library.

Specified by:
getDescription in interface IAndroidTarget.OptionalLibrary

isManifestEntryRequired

public abstract boolean isManifestEntryRequired()
Whether a manifest entry is required for this library.

Specified by:
isManifestEntryRequired in interface IAndroidTarget.OptionalLibrary