ExtensionFilter

fun ExtensionFilter(description: String, vararg extensions: String)

Creates an ExtensionFilter.

Maps a file type description to its extensions.

To generate e.g. "Image Files (*.png, *.jpg)" set description = "Image files" and extensions = ("png", "jpg").

Parameters

description

File type description.

extensions

File extensions.