com.armatiek.infofuze.stream.filesystem.compression.bzip2
Class BZip2ArchiveEntryIterator

java.lang.Object
  extended by com.armatiek.infofuze.stream.filesystem.compression.bzip2.BZip2ArchiveEntryIterator
All Implemented Interfaces:
java.util.Iterator<FileIf>

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

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

Author:
Maarten Kroon

Constructor Summary
BZip2ArchiveEntryIterator(ArchiveFile archiveFile, java.io.InputStream is)
           
 
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

BZip2ArchiveEntryIterator

public BZip2ArchiveEntryIterator(ArchiveFile archiveFile,
                                 java.io.InputStream is)
                          throws org.apache.commons.compress.archivers.ArchiveException
Throws:
org.apache.commons.compress.archivers.ArchiveException
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>