public static void main(String[] args) {
BeanContextSupport context = new BeanContextSupport(); // The BeanContext
BeanContextChildSupport bean = new BeanContextChildSupport(); // The JavaBean
// add the bean to the context
context.add(bean);
try {
context.getResourceAsStream("Readme.txt", bean);
}
catch (Exception exception) {
throw new Error("unexpected exception", exception);
}
}
Test4233980.java 文件源码
java
阅读 25
收藏 0
点赞 0
评论 0
项目:openjdk-jdk10
作者:
评论列表
文章目录