Data Request Broker
2-3-release

fr.gael.drb.impl.zip
Class ZipEnumeration

java.lang.Object
  extended by fr.gael.drb.impl.zip.ZipEnumeration
All Implemented Interfaces:
Enumeration

public class ZipEnumeration
extends Object
implements Enumeration

This class is used to the Enumeration implementation for a zipFileNode created with an inputStream


Constructor Summary
ZipEnumeration(InputStream in)
          Builds a new enumeration with the inputStreram
 
Method Summary
protected  ZipInputStream getZipin()
          Getter of zipin
 boolean hasMoreElements()
          Tests if this enumeration contains more elements.
 Object nextElement()
          Returns the next element of this enumeration if this enumeration object has at least one more element to provide.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipEnumeration

public ZipEnumeration(InputStream in)
Builds a new enumeration with the inputStreram

Parameters:
in - The InputStream which creates the ZipInputStream
Method Detail

hasMoreElements

public boolean hasMoreElements()
Tests if this enumeration contains more elements.

Specified by:
hasMoreElements in interface Enumeration
Returns:
true if and only if this enumeration object contains at least one more element to provide; false otherwise.

nextElement

public Object nextElement()
Returns the next element of this enumeration if this enumeration object has at least one more element to provide.

Specified by:
nextElement in interface Enumeration
Returns:
the next element of this enumeration.

getZipin

protected ZipInputStream getZipin()
Getter of zipin

Returns:
ZipInputStream the zipin

Data Request Broker - DRB API®
2-3-release

Copyright© 2001-2009 GAEL Consultant. All rights reserved. Use is subject to license terms .