Interface OpenFilesCallback.Params
- Enclosing interface:
- OpenFilesCallback
public static interface OpenFilesCallback.Params
The parameters of the
OpenFilesCallback.-
Method Summary
Modifier and TypeMethodDescriptionReturns the list of the file extensions acceptable by the file chooser.default StringReturns a string that represents the meaningful (e.g.
-
Method Details
-
acceptableExtensions
Returns the list of the file extensions acceptable by the file chooser. The acceptable file extensions are based on theacceptattribute value of the HTML input element. The extensions do not include the preceding dot character. The list is empty in case noacceptattribute is specified or its value is empty. -
filterDescription
Returns a string that represents the meaningful (e.g. "Image files", "PDF File (.pdf)", etc.) description of the acceptable extensions. In case no extensions are provided, the value is empty, which implies that any file type is acceptable.
-