|
|
@ -226,6 +226,12 @@ public class JavaFxNativeFileChooser implements FileChooserProvider { |
|
|
|
return this; |
|
|
|
return this; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Builder filter(String des, String... extensions) { |
|
|
|
|
|
|
|
if (extensions != null) { |
|
|
|
|
|
|
|
this.filters = new FileChooser.ExtensionFilter[]{new FileChooser.ExtensionFilter(des, extensions)}; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public Builder currentDirectory(File currentDirectory) { |
|
|
|
public Builder currentDirectory(File currentDirectory) { |
|
|
|
if (currentDirectory != null) { |
|
|
|
if (currentDirectory != null) { |
|
|
|