Skip to content

Instantly share code, notes, and snippets.

@finleyChen
Created March 1, 2013 21:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save finleyChen/5068106 to your computer and use it in GitHub Desktop.
Save finleyChen/5068106 to your computer and use it in GitHub Desktop.
write file
osw=new OutputStreamWriter(fOut);
BufferedWriter fbw = new BufferedWriter(osw);
try {
fbw.write(String.valueOf(smoothedInference));
fbw.write(" "+String.valueOf(System.currentTimeMillis()));
fbw.newLine();
fbw.close();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment