if (sInst == null) { sInst = new FileUtil(); } return sInst;
try { FileOutputStream fos = new FileOutputStream(file); fos.write(sDateFormat.format(new Date()).getBytes()); fos.write('\n"); fos.flush(); fos.close(); } catch (IOException ioe) { Log.e("FileUtil", "exception writing date to file", ioe); }