Skip to content

Instantly share code, notes, and snippets.

@rschumm
Created June 10, 2015 08:15
Show Gist options
  • Save rschumm/2ccdba0ca4beb3d51153 to your computer and use it in GitHub Desktop.
Save rschumm/2ccdba0ca4beb3d51153 to your computer and use it in GitHub Desktop.
Loading Resource in JBoss
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