to.tetramorph.util
クラス CSVFileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
to.tetramorph.util.CSVFileFilter
public class CSVFileFilter
- extends FileFilter
JFileChooserに使用するファイルフィルターでフォルダと、
CSVの拡張子をもったものだけ通す。
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CSVFileFilter
public CSVFileFilter()
accept
public boolean accept(File f)
- あたえられたファイル名が"*.csv"または"*.CSV"ならば真を違うなら偽を返す。
- 定義:
- クラス
FileFilter
内の accept
getDescription
public String getDescription()
- このフィルタの説明を返す。"Microsoft Excel CSV"と返る。
- 定義:
- クラス
FileFilter
内の getDescription