Example usage for java.io FilenameFilter interface-usage

List of usage examples for java.io FilenameFilter interface-usage

Introduction

In this page you can find the example usage for java.io FilenameFilter interface-usage.

Usage

From source file net.chaosserver.timelord.data.XmlDataReaderWriter.java

/**
 * The main ReaderWriter that uses the XMLEncoder/XMLDecoder to write the data
 * out to file. This is a very fast operation but does not produce an outfile
 * meant to be read by other applications.
 */
public class XmlDataReaderWriter extends TimelordDataReaderWriter implements FilenameFilter {

From source file FilesystemFilter.java

/**
 * A filesystem filter.
 * 
 * @author David Gilbert
 */
public class FilesystemFilter extends FileFilter implements FilenameFilter {

From source file com.ephesoft.dcma.util.FileExistenceFilter.java

/**
 * 
 * Filters the directory with given names. Checks whether the file exist with the given names. The methods of the file using this
 * filter will return a String array of length 'n' if the file exists(n files that exist under the directory). else an empty String
 * array
 * 

From source file org.etudes.tool.melete.FileExtensionFilter.java

/**
 * @author Rashmi Created on Jan 7, 2005 To get the server side files for wysiwyg editor remote browse
 */
class FileExtensionFilter implements FilenameFilter {
    private String ext = "*";

From source file FNFilter.java

/**
 * This class implements the FilenameFilter interface. The Accept method returns
 * true for .java, .class and .jar files.
 */

class OnlyJava implements FilenameFilter {

From source file org.latticesoft.util.common.FileWildCardFilter.java

public class FileWildCardFilter implements FilenameFilter {
    private static final Log log = LogFactory.getLog(FileWildCardFilter.class);
    private String wildCard;

    public FileWildCardFilter(String wildCard) {
        this.setWildCard(wildCard);

From source file de.uni_koblenz.jgralab.utilities.csv2tg.Csv2Tg.java

public class Csv2Tg implements FilenameFilter {

    private static final String CLI_OPTION_OUTPUT_FILE = "output";
    private static final String CLI_OPTION_CSV_FILES = "input";
    private static final String CLI_OPTION_SCHEMA = "schema";
    private static final Object COMMENT_STRING = "#";

From source file net.firejack.platform.installation.processor.OFRInstallProcessor.java

@SuppressWarnings("unused")
@Component("OFRInstallProcessor")
public class OFRInstallProcessor
        implements FilenameFilter, ApplicationListener<CompleteInitEvent>, CommandListener {
    private static final Logger logger = Logger.getLogger(OFRInstallProcessor.class);
    private static final String OFR = "ofr";

From source file org.exist.management.impl.DiskUsage.java

class DbxFilenameFilter implements FilenameFilter {

    @Override
    public boolean accept(File directory, String name) {
        return name.endsWith(".dbx");
    }

From source file au.org.ala.delta.util.FileUtils.java

class CaseInsenstiveFilenameMatcher implements FilenameFilter {

    private String _name;

    public CaseInsenstiveFilenameMatcher(String name) {
        _name = name;