AndroidManifest.java 文件源码

java
阅读 19 收藏 0 点赞 0 评论 0

项目:javaide 作者:
private static String getStringValue(@NonNull IAbstractFile file, @NonNull String xPath)
        throws StreamException, XPathExpressionException {
    XPath xpath = AndroidXPathFactory.newXPath();

    InputStream is = null;
    try {
        is = file.getContents();
        return xpath.evaluate(xPath, new InputSource(is));
    } finally {
        try {
            Closeables.close(is, true /* swallowIOException */);
        } catch (IOException e) {
            // cannot happen
        }
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号