|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.tuberlin.cs.cis.ocl.util.OclFileFilter
OclFileFilter
is a FilenameFilter
filtering ocl file with the ending '.ocl' regardless if
it's in upper case - or lower case form.
Constructor Summary | |
OclFileFilter()
Constructs a filter for ocl files. |
Method Summary | |
boolean |
accept(java.io.File dir,
java.lang.String fileName)
Accepts files whose names end with '.ocl' regardless if it's in upper case - or lower case form. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OclFileFilter()
Method Detail |
public boolean accept(java.io.File dir, java.lang.String fileName)
accept
in interface java.io.FilenameFilter
dir
- the directiory to be filtered.fileName
- the name of the file to be accepted or not
true
if the given fileName ends with
'.ocl', else false
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |