java8 / Java8InAction

MIT License
3.18k stars 2.26k forks source link

Using getResource() #21

Closed egalli64 closed 3 months ago

egalli64 commented 6 years ago

In chapter 3, to let the ExecuteAround example run we need to convert the filename in a resource filename.

A simple way could be via a call to the getResource() method from Class and then converting the resulting URL to string by getPath().

zhangzhiyong0127 commented 3 months ago

你好,您的邮件已收到