Package com.ibm.wala.dalvik.util
Class AndroidManifestXMLReader
- java.lang.Object
-
- com.ibm.wala.dalvik.util.AndroidManifestXMLReader
-
public class AndroidManifestXMLReader extends Object
Read in an extracted AndroidManifest.xml. The file has to be in the extracted (human readable) XML-Format. You can extract it using the program `apktool`. Tags and Attributes not known by the Parser are skipped over. To add a Tag to the parsed ones: You have to extend the enum Tags: All Tags on the path to the Tag in question have to be in the enum. Eventually you will have to adapt the ParserItem of the Parent-Tags and add it to their allowed Sub-Tags. To add an Attribute to the handled ones: You'll have to extend the Enum Attrs if the Attribute-Name is not yet present there. Then add the Attribute to the relevant Attributes of it's containing Tag. You will be able to access it using attributesHistory.get(Attr).peek() TODO:- Since:
- 2013-10-13
-
-
Constructor Detail
-
AndroidManifestXMLReader
public AndroidManifestXMLReader(File xmlFile) throws IOException
- Throws:
IOException
-
AndroidManifestXMLReader
public AndroidManifestXMLReader(InputStream xmlFile)
-
-