public void writeFile ( String aFileName , String aData ) throws IOException { Object lock = retrieveLock ( aFileName ) ; synchronized ( lock ) { IO . writeFile ( aFileName , aData , IO . CHARSET ) ; } }
Write string file data