Created
May 16, 2017 14:21
-
-
Save kuba-wu/7b0ef4c866d178d66406f51f28d6d1ca to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); | |
InputStream inputStream = classLoader.getResourceAsStream("class/path/relative/file"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment