为了账号安全,请及时绑定邮箱和手机立即绑定

getClass().getResourceAsStream 没见过。这是哪里的知识?

getClass().getResourceAsStream   没见过。这是哪里的知识?

正在回答

5 回答

反射——Java高级开发必须懂的

imooc里边有这个课程

0 回复 有任何疑惑可以回复我~

java 反射

0 回复 有任何疑惑可以回复我~
Java jdk 搜索 Properties


0 回复 有任何疑惑可以回复我~

Open for reading, a resource of the specified name from the search path used to load classes. This method locates the resource through the system class loader (see getSystemClassLoader()).

Parameters:

name - The resource name

Returns:

An input stream for reading the resource, or null if the resource could not be found 

查阅JAVA文档

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

getClass().getResourceAsStream 没见过。这是哪里的知识?

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信