|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.android.builder.DefaultManifestParser
public class DefaultManifestParser
Constructor Summary | |
---|---|
DefaultManifestParser()
|
Method Summary | |
---|---|
int |
getMinSdkVersion(java.io.File manifestFile)
Returns the minSdkVersion parsed from the given manifest file. |
java.lang.String |
getPackage(java.io.File manifestFile)
Returns the package name parsed from the given manifest file. |
int |
getTargetSdkVersion(java.io.File manifestFile)
Returns the targetSdkVersion parsed from the given manifest file. |
int |
getVersionCode(java.io.File manifestFile)
Returns the version code parsed from the given manifest file. |
java.lang.String |
getVersionName(java.io.File manifestFile)
Returns the version name parsed from the given manifest file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultManifestParser()
Method Detail |
---|
@Nullable public java.lang.String getPackage(@NonNull java.io.File manifestFile)
ManifestParser
getPackage
in interface ManifestParser
manifestFile
- the manifest file to parse
@Nullable public java.lang.String getVersionName(@NonNull java.io.File manifestFile)
ManifestParser
getVersionName
in interface ManifestParser
manifestFile
- the manifest file to parse
public int getVersionCode(@NonNull java.io.File manifestFile)
ManifestParser
getVersionCode
in interface ManifestParser
manifestFile
- the manifest file to parse
public int getMinSdkVersion(@NonNull java.io.File manifestFile)
ManifestParser
getMinSdkVersion
in interface ManifestParser
manifestFile
- the manifest file to parse
public int getTargetSdkVersion(@NonNull java.io.File manifestFile)
ManifestParser
getTargetSdkVersion
in interface ManifestParser
manifestFile
- the manifest file to parse
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |