for (Iterator i = entry.getDirectory().iterator(); i.hasNext();) {
for (FSEntryIterator i = entry.getDirectory().iterator(); i.hasNext();) {
	public String[] list(File directory, FilenameFilter filter) throws IOException {		final FSEntry entry = getEntry(directory);		if (entry == null) {			throw new FileNotFoundException(directory.getAbsolutePath());		}		if (!entry.isDirectory()) {			throw new IOException("Cannot list on non-directories " + directory);		}		final ArrayList list = new ArrayList();		for (Iterator i = entry.getDirectory().iterator(); i.hasNext();) {			final FSEntry child = (FSEntry)i.next();			final String name = child.getName();			if ((filter == null) || (filter.accept(directory, name))) {				list.add(name);			}		}		return (String[])list.toArray(new String[list.size()]);	}