|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dv.sbu.filefilter.buildin.SimplePathFilter
public class SimplePathFilter
File filter restricting on relative paths (including the full file name).
Wildcard is *
(any characters).
Constructor Summary | |
---|---|
SimplePathFilter()
|
Method Summary | |
---|---|
boolean |
acceptFile(SourceFileInformation fileInfo)
Test the given file information object relative to some root directory. |
java.lang.String |
getPattern()
Returns the path pattern. |
void |
setPattern(java.lang.String pattern)
Sets the pattern. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimplePathFilter()
Method Detail |
---|
public java.lang.String getPattern()
public void setPattern(java.lang.String pattern) throws java.lang.NullPointerException
/
.
pattern
- The pattern to set.
java.lang.NullPointerException
- The pattern is null
.public boolean acceptFile(SourceFileInformation fileInfo)
acceptFile
in interface IFileFilter
fileInfo
- The file information to test.
true
if the file is accepted. false
if the file is rejected.IFileFilter.acceptFile(de.dv.sbu.SourceFileInformation)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |