org.mdanderson.biostat.geneclust
public abstract class GCFileFilter extends FileFilter implements GCFileFilterKeys
ASCII_FILE_FILTER_DESCRIPTION, CLASSIFICATION_FILE_FILTER_DESCRIPTION, CONFIG_FILE_FILTER_DESCRIPTION, CSV_FILE_FILTER_DESCRIPTION, FORMATTED_ASCII_FILE_FILTER_DESCRIPTION, MATLAB_FILE_FILTER_DESCRIPTION, MICROSOFT_EXCEL_FILE_FILTER_DESCRIPTION, SAS_FILE_FILTER_DESCRIPTION, TSV_FILE_FILTER_DESCRIPTION
Constructor and Description |
---|
GCFileFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(File file)
Tests whether or not the specified abstract pathname should be
included in a pathname list.
|
String |
getDescription()
Returns the file filter's description
|
abstract boolean |
isMatchingExtension(String extension)
Tests whether or not the abstract pathname's file extension matches
this filter's expected extension(s).
|
protected void |
setDescription(String description)
Sets the file filter's description
|
public abstract boolean isMatchingExtension(String extension)
extension
- file extension to be testedpublic boolean accept(File file)
accept
in class FileFilter
file
- abstract pathname to be testedpublic String getDescription()
getDescription
in class FileFilter
protected void setDescription(String description)
description
- string specifying description of file filterCopyright © 2002 M.D. Anderson Cancer Center. All Rights Reserved.