本文整理了Java中org.apache.commons.logging.LogFactory.getResourceAsStream()
方法的一些代码示例,展示了LogFactory.getResourceAsStream()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。LogFactory.getResourceAsStream()
方法的具体详情如下:
包路径:org.apache.commons.logging.LogFactory
类名称:LogFactory
方法名:getResourceAsStream
[英]Applets may run in an environment where accessing resources of a loader is a secure operation, but where the commons-logging library has explicitly been granted permission for that operation. In this case, we need to run the operation using an AccessController.
[中]小程序可以在这样的环境中运行:访问加载程序的资源是一项安全操作,但commons日志库已明确获得该操作的权限。在这种情况下,我们需要使用AccessController运行该操作。
代码示例来源:origin: commons-logging/commons-logging
final InputStream is = getResourceAsStream(contextClassLoader, SERVICE_ID);
代码示例来源:origin: robovm/robovm
InputStream is = getResourceAsStream(contextClassLoader,
SERVICE_ID);
代码示例来源:origin: camunda/camunda-bpm-platform
InputStream is = getResourceAsStream(contextClassLoader,
SERVICE_ID);
代码示例来源:origin: com.bugvm/bugvm-rt
InputStream is = getResourceAsStream(contextClassLoader,
SERVICE_ID);
代码示例来源:origin: ibinti/bugvm
InputStream is = getResourceAsStream(contextClassLoader,
SERVICE_ID);
代码示例来源:origin: MobiVM/robovm
InputStream is = getResourceAsStream(contextClassLoader,
SERVICE_ID);
代码示例来源:origin: com.mobidevelop.robovm/robovm-rt
InputStream is = getResourceAsStream(contextClassLoader,
SERVICE_ID);
代码示例来源:origin: apache-logging/commons-logging
InputStream is = getResourceAsStream(contextClassLoader,
SERVICE_ID);
代码示例来源:origin: com.gluonhq/robovm-rt
InputStream is = getResourceAsStream(contextClassLoader,
SERVICE_ID);
代码示例来源:origin: FlexoVM/flexovm
InputStream is = getResourceAsStream(contextClassLoader,
SERVICE_ID);
代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded
final InputStream is = getResourceAsStream(contextClassLoader, SERVICE_ID);
代码示例来源:origin: org.apache.openjpa/openjpa-all
final InputStream is = getResourceAsStream(contextClassLoader, SERVICE_ID);
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.apache.commons.logging
InputStream is = getResourceAsStream(contextClassLoader,
SERVICE_ID);
代码示例来源:origin: Nextdoor/bender
final InputStream is = getResourceAsStream(contextClassLoader, SERVICE_ID);
内容来源于网络,如有侵权,请联系作者删除!