Exemplo n.º 1
0
  public static void writeFile(
      IFile file, final InputStream contents, final String charset, IProgressMonitor monitor)
      throws CoreException {

    WorkspaceUtilities.writeFile(file, contents, charset, monitor);
  }
Exemplo n.º 2
0
 public void save(IProgressMonitor monitor) throws CoreException {
   WorkspaceUtilities.writeFile(
       getSettingsFile(), toEncodedXml(), WorkspaceUtilities.DEFAULT_CHARSET, monitor);
 }