org.ikasan.connector.basefiletransfer.outbound.command.util
Class UnzippingFileProvider

java.lang.Object
  extended by org.ikasan.connector.basefiletransfer.outbound.command.util.UnzippingFileProvider
All Implemented Interfaces:
java.util.Iterator<FileHandle>, BatchedFileProvider

public class UnzippingFileProvider
extends java.lang.Object
implements BatchedFileProvider

Class that provides Iterator type access to the entries in a Zipped InputStream

Author:
Ikasan Development Team

Constructor Summary
UnzippingFileProvider(java.io.InputStream zippedInputStream)
          Constructor
 
Method Summary
 boolean hasNext()
           
 FileHandle next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnzippingFileProvider

public UnzippingFileProvider(java.io.InputStream zippedInputStream)
                      throws UnzipNotSupportedException
Constructor

Parameters:
zippedInputStream - InputStream of zipped data
Throws:
UnzipNotSupportedException
Method Detail

hasNext

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

next

public FileHandle next()
Specified by:
next in interface java.util.Iterator<FileHandle>
See Also:
Iterator.next()

remove

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


Copyright © 2007-2010 Ikasan. All Rights Reserved.