org.crsh.vfs.spi.url
Class ZipIterator

java.lang.Object
  extended by org.crsh.vfs.spi.url.ZipIterator
All Implemented Interfaces:
Closeable

abstract class ZipIterator
extends Object
implements Closeable

Author:
Julien Viet

Constructor Summary
ZipIterator()
           
 
Method Summary
(package private) static ZipIterator create(File file)
           
(package private) static ZipIterator create(InputStream in)
           
(package private) static ZipIterator create(URL url)
           
(package private) abstract  boolean hasNext()
           
(package private) abstract  ZipEntry next()
           
(package private) abstract  InputStreamResolver open()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.io.Closeable
close
 

Constructor Detail

ZipIterator

ZipIterator()
Method Detail

create

static ZipIterator create(URL url)
                   throws IOException,
                          URISyntaxException
Throws:
IOException
URISyntaxException

create

static ZipIterator create(File file)
                   throws IOException
Throws:
IOException

create

static ZipIterator create(InputStream in)
                   throws IOException
Throws:
IOException

hasNext

abstract boolean hasNext()
                  throws IOException
Throws:
IOException

next

abstract ZipEntry next()
                throws IOException
Throws:
IOException

open

abstract InputStreamResolver open()
                           throws IOException
Throws:
IOException


Copyright © 2014 eXo Platform SAS. All Rights Reserved.