Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

ide
Class ExtensionFilenameFilter  view ExtensionFilenameFilter download ExtensionFilenameFilter.java

java.lang.Object
  extended byide.ExtensionFilenameFilter
All Implemented Interfaces:
java.io.FilenameFilter

public class ExtensionFilenameFilter
extends java.lang.Object
implements java.io.FilenameFilter


Field Summary
private  java.lang.String allowedExtension
           
 
Constructor Summary
ExtensionFilenameFilter(java.lang.String s)
           
 
Method Summary
 boolean accept(java.io.File dir, java.lang.String name)
          This method determines whether or not a given file should be included in a directory listing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

allowedExtension

private java.lang.String allowedExtension
Constructor Detail

ExtensionFilenameFilter

public ExtensionFilenameFilter(java.lang.String s)
Method Detail

accept

public boolean accept(java.io.File dir,
                      java.lang.String name)
Description copied from interface: java.io.FilenameFilter
This method determines whether or not a given file should be included in a directory listing.

Specified by:
accept in interface java.io.FilenameFilter