FileDocCategorySizeDatePackage
TextChooser.javaAPI DocExample455Tue Feb 14 13:30:04 GMT 2006None

TextChooser

public class TextChooser extends Object implements FilenameFilter

Fields Summary
Constructors Summary
Methods Summary
public booleanaccept(java.io.File dir, java.lang.String name)

 
    if (name.endsWith(".java")) return true;
    else if (name.endsWith(".jav")) return true;
    else if (name.endsWith(".html")) return true;
    else if (name.endsWith(".htm")) return true;
    else if (name.endsWith(".txt")) return true;
    else if (name.endsWith(".text")) return true;
    return false;