Class FileStoreIterator
java.lang.Object
|
+----java.util.VectorIterator
|
+----FileStoreIterator
- class FileStoreIterator
- extends VectorIterator
- implements StoreIterator
This class is an extension of VectorIterator that implements
StoreIterator instead of Iterator. This class contains a method
doAll() that only works on a FileStore and a method action() that only
works on a File. The methods doAll() and action() inherited from
VectorIterator (and which are part of interface Iterator) and the
methods doAll() and action() from StoreIterator are `disabled' in this
class: when called, they only generate an exception.
- Version:
- $Revision: 1.1 $
-
FileStoreIterator()
-
-
action(File)
-
-
action(Object)
-
-
action(StoreElement)
-
-
doAll(FileStore)
-
-
doAll(Object)
- This is the entry point of the iterator that can be called by a client
class.
-
doAll(Store)
-
FileStoreIterator
FileStoreIterator()
doAll
public void doAll(FileStore s)
action
public void action(File f)
doAll
public void doAll(Store s)
action
public void action(StoreElement e)
doAll
public void doAll(Object vector)
- This is the entry point of the iterator that can be called by a client
class.
- Overrides:
- doAll in class VectorIterator
action
public void action(Object item)
- Overrides:
- action in class VectorIterator