org.crsh.util
Class ZipIterator
java.lang.Object
org.crsh.util.ZipIterator
- All Implemented Interfaces:
- Closeable
-
public abstract class ZipIterator
- extends Object
-
- implements Closeable
-
- Author:
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 |
ZipIterator
public ZipIterator()
create
public 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
public abstract boolean hasNext()
throws IOException
-
-
- Throws:
IOException
next
public abstract ZipEntry next()
throws IOException
-
-
- Throws:
IOException
getStreamFactory
public abstract InputStreamFactory getStreamFactory()
throws IOException
-
Return a stream factory for the current entry.
-
-
- Returns:
- the stream factory
- Throws:
IOException
- anything that would prevent to obtain a stream factory
Copyright © 2015 eXo Platform SAS. All Rights Reserved.