Skip to content

Instantly share code, notes, and snippets.

@mumrah
Created March 8, 2012 14:55
Show Gist options
  • Save mumrah/2001370 to your computer and use it in GitHub Desktop.
Save mumrah/2001370 to your computer and use it in GitHub Desktop.
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