Java javax.swing.filechooser FileNameExtensionFilter fields, constructors, methods, implement or subclass

Example usage for Java javax.swing.filechooser FileNameExtensionFilter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.swing.filechooser FileNameExtensionFilter.

The text is from its open source code.

Constructor

FileNameExtensionFilter(String description, String... extensions)
Creates a FileNameExtensionFilter with the specified description and file name extensions.

Method

booleanaccept(File f)
Tests the specified file, returning true if the file is accepted, false otherwise.
StringgetDescription()
The description of this filter.
String[]getExtensions()
Returns the set of file name extensions files are tested against.