001package jmri.profile;
002
003import java.io.File;
004import javax.swing.filechooser.FileFilter;
005
006/**
007 * FileFilter for use in a JFileChooser.
008 *
009 * @author Randall Wood Copyright (C) 2013, 2014
010 */
011public class ProfileFileFilter extends FileFilter {
012
013    @Override
014    public boolean accept(File f) {
015        return (f.isDirectory());
016    }
017
018    @Override
019    public String getDescription() {
020        return Bundle.getMessage("fileFilterDescription");
021    }
022}