Package org.ka2ddo.yaac.io
Class PortConfig.RequireFile
java.lang.Object
org.ka2ddo.yaac.io.PortConfig.RequireHints
org.ka2ddo.yaac.io.PortConfig.RequireFile
- Enclosing class:
- PortConfig
Data structure describing how the ConfigImporter should ask for missing (or
blanked-out) required port configuration parameters when they are a file in the
filesystem.
- Author:
- Andrew Pavlin, KA2DDO
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionfinal String
ResourceBundle key to localized text to display on file chooser's select button.final boolean
Boolean true indicates chooser should select a directory, false for files.Fields inherited from class org.ka2ddo.yaac.io.PortConfig.RequireHints
promptTag, typeOfDialogPrompt
-
Constructor Summary
ConstructorDescriptionRequireFile
(String promptTag, String fileSelectTag, boolean isDirectory) Create a RequireFile object for the specified prompt string and a file chooser. -
Method Summary
-
Field Details
-
fileSelectTag
ResourceBundle key to localized text to display on file chooser's select button. -
isDirectory
public final boolean isDirectoryBoolean true indicates chooser should select a directory, false for files.
-
-
Constructor Details
-
RequireFile
Create a RequireFile object for the specified prompt string and a file chooser.- Parameters:
promptTag
- String key to a ResourceBundle localized prompt textfileSelectTag
- String text to a ResourceBundle localized text to display on the file chooser's select buttonisDirectory
- boolean true if user must select directory, false for file
-