com.caucho.vfs
Class ZipScanner
java.lang.Object
com.caucho.vfs.ZipScanner
public final class ZipScanner
- extends java.lang.Object
Scans a zip file, returning the names. The ZipScanner only works with
central directory style zip files.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZipScanner
public ZipScanner(Path path)
- Creates a new Jar.
- Parameters:
path
- canonical path
open
public final boolean open()
throws java.io.IOException
- Throws:
java.io.IOException
next
public final boolean next()
throws java.io.IOException
- Throws:
java.io.IOException
getName
public final java.lang.String getName()
getNameBuffer
public final char[] getNameBuffer()
getNameLength
public final int getNameLength()
close
public void close()