Created
June 10, 2015 08:15
-
-
Save rschumm/2ccdba0ca4beb3d51153 to your computer and use it in GitHub Desktop.
Loading Resource in JBoss
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
URL url = MeineKlasse.class.getClassLoader().getResource(datei); | |
try { | |
return new BufferedReader(new InputStreamReader(url.openStream())); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment