Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Properties prop = new Properties();
- InputStream in = getClass().getResourceAsStream("foo.properties");
- prop.load(in);
- in.close()
- InputStream in = getClass().getResourceAsStream("/com/al/common/email/templates/foo.properties");
- static {
- Properties prop = new Properties();
- InputStream in = CurrentClassName.class.getClass().getResourceAsStream("foo.properties");
- prop.load(in);
- in.close()
- }
Add Comment
Please, Sign In to add comment