问答详情
源自:2-1 工厂模式应用

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

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

提问者:Buddy_ 2015-05-25 19:57

个回答

  • qq_慕姐8173930
    2016-11-24 12:55:55

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

    imooc里边有这个课程

  • Nomo_Air
    2016-04-15 13:13:19

    java 反射

  • rookie2maven
    2016-03-07 22:13:20

    Java jdk 搜索 Properties


  • 窒息炙刃
    2015-06-27 17:35:16

    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文档