public class CmsPrefixFileFilter extends java.lang.Object implements java.io.FileFilter
| Constructor and Description |
|---|
CmsPrefixFileFilter(java.lang.String fileName)
Creates a new instance of this filter.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(java.io.File f)
Accepts the given file if its name starts with the name of of the base file (without extension)
and ends with the extension.
|
public CmsPrefixFileFilter(java.lang.String fileName)
fileName - the base file to compare with.public boolean accept(java.io.File f)
accept in interface java.io.FileFilterFileFilter.accept(java.io.File)