List of usage examples for java.io FilenameFilter interface-usage
From source file edu.uci.ics.pregelix.core.driver.Driver.java
class FileFilter implements FilenameFilter { private String ext; public FileFilter(String ext) { this.ext = "." + ext; }
From source file com.edgehometheater.IndexMoviesContext.java
class MovieFilter implements FilenameFilter { /** * Select only *.mp4, *.m4v files. * * @param dir the directory in which the file was found.
From source file ORG.oclc.os.SRW.SRWFileSystemDatabase.java
class DirFilter implements FilenameFilter { private final Pattern pattern; public DirFilter(String regex) { pattern = Pattern.compile(regex); }
From source file org.wyona.yanel.core.ResourceTypeRegistry.java
/** * File name filter in order to get resource definitions */ class ResourceFilenameFilter implements java.io.FilenameFilter { /**
From source file com.photon.phresco.plugins.JavaPackage.java
class WarFileNameFilter implements FilenameFilter { public boolean accept(File dir, String name) { return name.endsWith(".war"); } }
From source file org.gofleet.context.GoClassLoader.java
class JARFileFilter implements FilenameFilter { public boolean accept(File dir, String name) { return name.endsWith(".jar") || name.endsWith(".class") || dir.isDirectory(); }
From source file com.photon.phresco.util.ProjectUtils.java
class PhrescoFileNameFilter implements FilenameFilter { private String filter_; public PhrescoFileNameFilter(String filter) { filter_ = filter; }
From source file net.sf.taverna.t2.workbench.cagrid.CaGridComponent.java
class ExtensionFilter implements FilenameFilter { private String extension; public ExtensionFilter(String extension) { this.extension = extension; }
From source file org.dspace.installer_edm.InstallerEDMAskosi.java
/**
* @class FileListFilter
*
* Clase para filtrar por nombre y extensin, y recoger archivos de un directorio
*
*/
From source file com.photon.phresco.framework.commons.FrameworkUtil.java
class PhrescoFileFilter implements FilenameFilter { private String name; private String extension; public PhrescoFileFilter(String name, String extension) { this.name = name;