|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.updater.service.resource.PrefixPatternFilter
public class PrefixPatternFilter
FileFilter based on filename prefix
| Constructor Summary | |
|---|---|
PrefixPatternFilter(java.lang.String strPrefix)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
accept(java.io.File file)
Checks to see if the File should be accepted by this filter. |
boolean |
accept(java.io.File file,
java.lang.String strFilename)
Checks to see if the File should be accepted by this filter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PrefixPatternFilter(java.lang.String strPrefix)
strPrefix - The prefix| Method Detail |
|---|
public boolean accept(java.io.File file)
accept in interface java.io.FileFilteraccept in interface org.apache.commons.io.filefilter.IOFileFilterfile - The file to check
public boolean accept(java.io.File file,
java.lang.String strFilename)
accept in interface java.io.FilenameFilteraccept in interface org.apache.commons.io.filefilter.IOFileFilterfile - The file to checkstrFilename - The filename
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||