org.squashtest.tm.service.internal.archive
Class ZipReader

java.lang.Object
  extended by org.squashtest.tm.service.internal.archive.ZipReader
All Implemented Interfaces:
Iterator<Entry>, ArchiveReader

public class ZipReader
extends Object
implements ArchiveReader


Constructor Summary
ZipReader(InputStream stream, String encoding)
           
 
Method Summary
 void close()
           
 boolean hasNext()
           
 Entry next()
           
 void remove()
           
 void setEncoding(String encoding)
           
 void setStream(InputStream stream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipReader

public ZipReader(InputStream stream,
                 String encoding)
Method Detail

setEncoding

public void setEncoding(String encoding)
Specified by:
setEncoding in interface ArchiveReader

setStream

public void setStream(InputStream stream)
Specified by:
setStream in interface ArchiveReader

close

public void close()
Specified by:
close in interface ArchiveReader

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<Entry>

next

public Entry next()
Specified by:
next in interface Iterator<Entry>

remove

public void remove()
Specified by:
remove in interface Iterator<Entry>


Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.