org.cresques.io
Class ZipFileFolder

java.lang.Object
  extended byorg.cresques.io.FileFolder
      extended byorg.cresques.io.ZipFileFolder

public class ZipFileFolder
extends FileFolder

Author:
"Luis W. Sevilla" * @author administrador

Field Summary
 java.util.zip.ZipFile file
           
 
Constructor Summary
ZipFileFolder()
           
ZipFileFolder(java.lang.String fName)
          Constructor.
 
Method Summary
 int count()
           
 java.util.Enumeration entries()
           
 java.io.InputStream getInputStream(java.lang.String fName)
           
 java.io.InputStream getInputStream(java.util.zip.ZipEntry ze)
           
 java.util.zip.ZipEntry getZipEntry(java.lang.String fName)
           
static boolean isUrl(java.lang.String name)
          Analiza un nombre de fichero en formato zip://zipname.zip?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

file

public java.util.zip.ZipFile file
Constructor Detail

ZipFileFolder

public ZipFileFolder()

ZipFileFolder

public ZipFileFolder(java.lang.String fName)
              throws java.io.IOException
Constructor.

Method Detail

isUrl

public static boolean isUrl(java.lang.String name)
Analiza un nombre de fichero en formato zip://zipname.zip?file.ext


getZipEntry

public java.util.zip.ZipEntry getZipEntry(java.lang.String fName)
                                   throws java.io.IOException
Throws:
java.io.IOException

getInputStream

public java.io.InputStream getInputStream(java.lang.String fName)
                                   throws java.io.IOException
Throws:
java.io.IOException

getInputStream

public java.io.InputStream getInputStream(java.util.zip.ZipEntry ze)
                                   throws java.io.IOException
Throws:
java.io.IOException

count

public int count()
Specified by:
count in class FileFolder

entries

public java.util.Enumeration entries()