java.lang.Object
soot.jimple.infoflow.android.source.parsers.xml.ResourceUtils

public class ResourceUtils extends Object
  • Constructor Details

    • ResourceUtils

      public ResourceUtils()
  • Method Details

    • getResourceStream

      public static InputStream getResourceStream(String filename) throws IOException
      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