com.armatiek.infofuze.stream.filesystem.compression
Class ArchiveEntryIterator

java.lang.Object
  extended by com.armatiek.infofuze.stream.filesystem.compression.ArchiveEntryIterator
All Implemented Interfaces:
java.util.Iterator<FileIf>
Direct Known Subclasses:
TarArchiveEntryIterator, ZipArchiveEntryIterator

public abstract class ArchiveEntryIterator
extends java.lang.Object
implements java.util.Iterator<FileIf>

An abstract iterator of all file entries within a archive file.

Author:
Maarten Kroon

Constructor Summary
ArchiveEntryIterator()
           
 
Method Summary
 boolean hasNext()
           
 FileIf next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArchiveEntryIterator

public ArchiveEntryIterator()
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<FileIf>

next

public FileIf next()
Specified by:
next in interface java.util.Iterator<FileIf>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<FileIf>