Can getResourceAsStream() find files outside the jar file?

后端 未结 0 1420
灰色年华
灰色年华 2021-02-15 00:42

I\'m developing an application that uses a library that loads a configuration file as:

InputStream in = getClass().getResourceAsStream(resource);
相关标签:
回答
  • 消灭零回复
提交回复
热议问题