com.caucho.vfs
Class ZipScanner
java.lang.Object
com.caucho.vfs.ZipScanner
public 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 boolean open()
throws java.io.IOException
- Throws:
java.io.IOException
next
public boolean next()
throws java.io.IOException
- Throws:
java.io.IOException
getName
public java.lang.String getName()
getNameBuffer
public char[] getNameBuffer()
getNameLength
public int getNameLength()
close
public void close()