public class ZipFileFolder extends FileFolder
Modifier and Type | Field and Description |
---|---|
java.util.zip.ZipFile |
file |
Constructor and Description |
---|
ZipFileFolder() |
ZipFileFolder(java.lang.String fName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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?
|
public ZipFileFolder()
public ZipFileFolder(java.lang.String fName) throws java.io.IOException
fname
- java.io.IOException
public static boolean isUrl(java.lang.String name)
urlName
- public java.util.zip.ZipEntry getZipEntry(java.lang.String fName) throws java.io.IOException
java.io.IOException
public java.io.InputStream getInputStream(java.lang.String fName) throws java.io.IOException
java.io.IOException
public java.io.InputStream getInputStream(java.util.zip.ZipEntry ze) throws java.io.IOException
java.io.IOException
public int count()
count
in class FileFolder
public java.util.Enumeration entries()