private void saveImpl(FileLocation loc) throws IOException {
  OutputStream out=loc.getOutputStream();
  PrintWriter w=new PrintWriter(new BufferedWriter(new UnicodeWriter(out,getEncoding())));
  try {
    write(w);
  }
  finally {
    w.close();
  }
}

private void saveImpl ( FileLocation loc ) throws IOException { OutputStream out = loc . getOutputStream ( ) ; PrintWriter w = new PrintWriter ( new BufferedWriter ( new UnicodeWriter ( out , getEncoding ( ) ) ) ) ; try { write ( w ) ; } finally { w . close ( ) ; } }
saves the text in this editor to the specified location .
