Class ClientFileUtilities
java.lang.Object
com.inductiveautomation.ignition.client.script.ClientFileUtilities
- Direct Known Subclasses:
FPMIFileUtilities
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static interface
static interface
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JFileChooser
getChooser
(int dialogType, String desc, String... ext) Creates a file choose of the given type (JFileChooser.OPEN_DIALOG or JFileChooser.SAVE_DIALOG), that is set to single file-only selection.
-
Constructor Details
-
ClientFileUtilities
public ClientFileUtilities()
-
-
Method Details
-
getChooser
Creates a file choose of the given type (JFileChooser.OPEN_DIALOG or JFileChooser.SAVE_DIALOG), that is set to single file-only selection. If extensions are given, a file filter will be added for those extensions.- Parameters:
ext
- A list of acceptable file extensions (like "txt" or "jpeg")
-