org.knime.core.util
Class FileReaderFileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
org.knime.core.util.FileReaderFileFilter
public class FileReaderFileFilter
- extends FileFilter
Our File Filter for the JFileChooser Dialog You can create one accepting all
files ending with one extension ".ext". Other pattern matches are not
supported.
- Author:
- ohl University of Konstanz
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileReaderFileFilter
public FileReaderFileFilter(String ext,
String description)
- creates a new FileFilter that accepts files matching "*.'ext'".
- Parameters:
ext
- the extensiondescription
- the readable description (like "XML files")
accept
public boolean accept(File f)
-
- Specified by:
accept
in class FileFilter
getDescription
public String getDescription()
-
- Specified by:
getDescription
in class FileFilter
Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display,
or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the
copyright owner or as specified in the license file distributed with this product.