public class

AndroidManifestWriter

extends Object
java.lang.Object
   ↳ com.android.tradefed.util.xml.AndroidManifestWriter

Class Overview

Helper class for modifying an AndroidManifest.

copied from /platform/sdk/.../adt-tests/com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper. TODO: Find a way of sharing this code with adt-tests

Summary

Public Methods
static AndroidManifestWriter parse(String osManifestFilePath)
Parses the manifest file, and collects data.
boolean setMinSdkVersion(String minSdkVersion)
Sets the minimum SDK version for this manifest.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static AndroidManifestWriter parse (String osManifestFilePath)

Parses the manifest file, and collects data.

Parameters
osManifestFilePath The OS path of the manifest file to parse.
Returns

public boolean setMinSdkVersion (String minSdkVersion)

Sets the minimum SDK version for this manifest.

Parameters
minSdkVersion - the minimim sdk version to use
Returns
  • true on success, false otherwise