com.caucho.vfs
Class ZipScanner

java.lang.Object
  extended by 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.


Constructor Summary
ZipScanner(Path path)
          Creates a new Jar.
 
Method Summary
 void close()
           
 java.lang.String getName()
           
 char[] getNameBuffer()
           
 int getNameLength()
           
 boolean next()
           
 boolean open()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipScanner

public ZipScanner(Path path)
Creates a new Jar.

Parameters:
path - canonical path
Method Detail

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()