|
GridSim v4.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectgridsim.datagrid.filter.Filter
gridsim.datagrid.filter.FileNameFilter
Creates a filter based on a file name
Constructor Summary | |
FileNameFilter(String fileName)
Creates a new filtering function based on a given filename |
Method Summary | |
boolean |
match(FileAttribute attr)
For each file in the Replica Catalogue list, check whether it contains a FileAttribute object with a matching file name |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FileNameFilter(String fileName)
fileName
- a file nameMethod Detail |
public boolean match(FileAttribute attr)
match
in class Filter
attr
- a FileAttribute object to compare to
|
GridSim v4.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |