Documentation of 'org.freehep.util.io.StandardFileFilter' Java class
StandardFileFilter
org.freehep.util.io

Class StandardFileFilter

  • All Implemented Interfaces:
    java.io.FileFilter


    public class StandardFileFilter
    extends java.lang.Object
    implements java.io.FileFilter
    Implements a standard file filter as is normally used in Unix and DOS. The template characters are treated literally and are case sensitive with the following exceptions:
    • * matches zero or more consecutive characters
    • ? matches exactly one character
    • \ causes the next character of the template to be treated literally. Use \\ for \, \* for * and \? for *.
    The template should specify slashes as a separator character (e.g. Unix style).
    • Constructor Summary

      Constructors 
      Constructor and Description
      StandardFileFilter(java.lang.String template)
      Create a standard file filter
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean accept(java.io.File pathname) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StandardFileFilter

        public StandardFileFilter(java.lang.String template)
        Create a standard file filter
        Parameters:
        template - pattern to be used for file filtering
    • Method Detail

      • accept

        public boolean accept(java.io.File pathname)
        Specified by:
        accept in interface java.io.FileFilter

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.