int i = 0;
for (Iterator iter = children.iterator(); iter.hasNext(); i++)
{
Node childNode = (Node)iter.next();
ZipEntry zipEntry = (ZipEntry)childNode.getValue();
FuseDirEnt dirEntry = new FuseDirEnt();
dirEntries[i] = dirEntry;
dirEntry.name = childNode.getName();
dirEntry.mode = zipEntry.isDirectory()? FuseFtype.TYPE_DIR : FuseFtype.TYPE_FILE;
}