public class ClientFileUtilities
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ClientFileUtilities.BinaryFileWritingTask |
static class |
ClientFileUtilities.CharFileWritingTask |
static interface |
ClientFileUtilities.FileWritingTask |
static interface |
ClientFileUtilities.FileWritingTaskFactory |
Constructor and Description |
---|
ClientFileUtilities() |
Modifier and Type | Method and Description |
---|---|
static javax.swing.JFileChooser |
getChooser(int dialogType,
java.lang.String desc,
java.lang.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.
|
public static javax.swing.JFileChooser getChooser(int dialogType, java.lang.String desc, java.lang.String... ext)
dialogType
- desc
- ext
- A list of acceptable file extensions (like "txt" or "jpeg")