Exemplo n.º 1
0
 public void save(
     String path,
     // fileType==null means don't change value
     String fileType,
     // encoding==null means don't change value
     String encoding,
     final ProgressIndicator progress) {
   assert path != null;
   if (path == null) throw new IllegalArgumentException("Path cannot be null");
   saveWithSuspendedAutoSave(path, fileType, encoding, progress);
 }
Exemplo n.º 2
0
 public void changeFileType(String fileType, final ProgressIndicator progress) {
   saveWithSuspendedAutoSave(null, fileType, null, progress);
 }