org.objectweb.perseus.fos.lib
Class FosExtension
java.lang.Object
org.objectweb.perseus.fos.lib.FosExtension
- FilenameFilter, Iterator
public class FosExtension
extends java.lang.Object
implements Iterator, FilenameFilter
Defines the way to iterate over the Object Files within a directory.
- S. Chassande-Barrioz, P. D?chamboux
boolean | accept(File dir, String name) - The filter for retrieving relevant FOS file names.
|
boolean | hasNext() - Tests if there are more elements to tranverse.
|
Object | next() - Traverses the next element.
|
void | remove() - remove unsupported.
|
accept
public boolean accept(File dir,
String name)
The filter for retrieving relevant FOS file names. Names with
deletion or writing suffixes are ignored, as well as non regular files.
hasNext
public boolean hasNext()
Tests if there are more elements to tranverse.
next
public Object next()
throws NoSuchElementException
Traverses the next element.
remove
public void remove()
throws UnsupportedOperationException,
IllegalStateException
remove unsupported.
Copyright © 2000-2002 France Telecom S.A., INRIA, IMAG-LSR All Rights Reserved.