Created
March 8, 2012 14:55
-
-
Save mumrah/2001370 to your computer and use it in GitHub Desktop.
This file contains 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
File propFile = new File("oozie.action.output.properties"); | |
Properties props = new Properties(); | |
props.put("foo", "bar"); | |
OutputStream os = new FileOutputStream(propFile); | |
props.store(os, ""); | |
os.close(); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment