Java Globus API: Class TarBlockIterator

org.globus.util.tar
Class TarBlockIterator

java.lang.Object
  |
  +--org.globus.util.tar.TarFile
        |
        +--org.globus.util.tar.TarBlockIterator
All Implemented Interfaces:
java.util.Enumeration

public class TarBlockIterator
extends TarFile
implements java.util.Enumeration


Fields inherited from class org.globus.util.tar.TarFile
blockHeaders, fileName
 
Constructor Summary
TarBlockIterator(java.io.File file)
           
TarBlockIterator(java.lang.String fileName)
           
 
Method Summary
 boolean hasMoreElements()
           
 java.lang.Object nextElement()
           
 
Methods inherited from class org.globus.util.tar.TarFile
blockHeaders, extract, getBlockHeader, getInputStream, getTarInputStream, main, nextRecord, nextRecord, writeBlock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TarBlockIterator

public TarBlockIterator(java.io.File file)
                 throws java.io.FileNotFoundException

TarBlockIterator

public TarBlockIterator(java.lang.String fileName)
                 throws java.io.FileNotFoundException
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()
Specified by:
nextElement in interface java.util.Enumeration