Package Summary  Overview Summary

class:FileFilter [NONE]

constructor:<init>() [NONE]

  • FileFilter

    public FileFilter()

method:accept(java.io.File) [NONE]

  • accept

    public abstract boolean accept​(File f)
    Whether the given file is accepted by this filter.
    Parameters:
    f - the File to test
    Returns:
    true if the file is to be accepted

method:getDescription() [NONE]

  • getDescription

    public abstract String getDescription()
    The description of this filter. For example: "JPG and GIF Images"
    Returns:
    the description of this filter
    See Also:
    FileView.getName(java.io.File)

© 2019 Oracle Corporation and/or its affiliates