private void writeOutputFile(StringBuilder builder) throws IOException {
  PrintWriter writer=new PrintWriter(getOutputFile(),"UTF-8");
  writer.write(builder.toString());
  writer.flush();
  writer.close();
}

private void writeOutputFile ( StringBuilder builder ) throws IOException { PrintWriter writer = new PrintWriter ( getOutputFile ( ) , "UTF-8" ) ; writer . write ( builder . toString ( ) ) ; writer . flush ( ) ; writer . close ( ) ; }
writes the contents of the given stringbuilder out to unicodeproperties . java .
