public Iterator iterator() throws IOException { return new Iterator() { int offset = 0; EntryRecord parent = ISO9660Directory.this.entry.getCDFSentry(); byte[] buffer = parent.getExtentData();  public boolean hasNext() { return buffer[offset] > 0; }
public Iterator iterator() throws IOException { return new Iterator() {
	public Iterator iterator() throws IOException	{		return new Iterator()		{			int offset = 0;			EntryRecord parent = ISO9660Directory.this.entry.getCDFSentry();			byte[] buffer = parent.getExtentData();						public boolean hasNext()			{				return buffer[offset] > 0;			}			public Object next()			{				EntryRecord fEntry = new EntryRecord(parent.getVolume(),buffer,offset);				offset += fEntry.getLengthOfDirectoryEntry(); 				return new ISO9660Entry(fEntry);			}			public void remove()			{				throw new UnsupportedOperationException("Not yet implemented");			}					};	}