soot.jimple.infoflow.android.source.parsers.xml.ResourceUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of soot-infoflow-android Show documentation
Show all versions of soot-infoflow-android Show documentation
Android-specific components of FlowDroid
package soot.jimple.infoflow.android.source.parsers.xml;
import java.io.IOException;
import java.io.InputStream;
public class ResourceUtils {
/**
* 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.
* @param filename the resource file name
* @return the input stream
* @throws IOException
*/
public static InputStream getResourceStream(String filename) throws IOException {
return soot.jimple.infoflow.util.ResourceUtils.getResourceStream(ResourceUtils.class, filename);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy