Class ResourceUtils
java.lang.Object
soot.jimple.infoflow.android.source.parsers.xml.ResourceUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic InputStreamgetResourceStream(String filename) Returns an input stream of a specified resource files, which is contained within the JAR.
-
Constructor Details
-
ResourceUtils
public ResourceUtils()
-
-
Method Details
-
getResourceStream
Returns an input stream of a specified resource files, which is contained within the JAR. This method does throw an exception in case the resource file was not found. The caller responsible for closing the stream.- Parameters:
filename- the resource file name- Returns:
- the input stream
- Throws:
IOException
-