net.yagga.miniinstaller
Class MiniInstaller.MiniFileFilter

java.lang.Object
  |
  +--net.yagga.miniinstaller.MiniInstaller.MiniFileFilter
All Implemented Interfaces:
java.io.FileFilter
Enclosing class:
MiniInstaller

private class MiniInstaller.MiniFileFilter
extends java.lang.Object
implements java.io.FileFilter

Class that defines a simple filename filter, it is only for files and discards automatically directories. THis class handles very simple filters, with at most one wildcard "*", or the special wildcard "*.*", but it can handle a multiple filter, where several filters are given in a comma separated list.
Accepted filters are:

And a list of the above filter.
Examples are:
"*" cahtches all
"pippo" cahtches only files named exactly "pippo"
"a*java" cahtches all java files starting with a
"a*pippo*java" cahtches all java files starting with "a". Multiple "*" with the interspaced text are treated as a single "*". So this file mask is in fact equivalent to the one above.
"*.txt,*.java,te*" cahtches all text and java source file, and files starting with "te" string

Author:
Walter Gamba

Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait