|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.ebi.adfconverter.library.NameFilter
implements java.io.FilenameFilter interface. Uses to filter files in a directory following file name
| Constructor Summary | |
NameFilter()
contructor of a filter |
|
NameFilter(java.lang.String[] extensions)
contructor of a filter following an array of file name |
|
| Method Summary | |
boolean |
accept(java.io.File dir,
java.lang.String name)
retrieved if a file accepted by the filter. |
void |
addName(java.lang.String name)
Add a fime name filter |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NameFilter()
public NameFilter(java.lang.String[] extensions)
extensions - array of accepted extensions| Method Detail |
public boolean accept(java.io.File dir,
java.lang.String name)
accept in interface java.io.FilenameFilterdir - path to the directory containing the file to testname - the name of the file to test
public void addName(java.lang.String name)
name - a file name to take in count
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||