コード例 #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);
 }
コード例 #2
0
 public void changeFileType(String fileType, final ProgressIndicator progress) {
   saveWithSuspendedAutoSave(null, fileType, null, progress);
 }