|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.util.zip.ZipFile
|
+--org.omegahat.Environment.IO.ArchiveEntry
Represents an entry/record in a zip or jar file.
| Field Summary | |
protected java.util.zip.ZipEntry |
entry
The entry within the archive assicuated with this object. |
protected java.lang.String |
entryName
The name of the object associated with this entry in the archive. |
| Fields inherited from class java.util.zip.ZipFile |
CENATT, CENATX, CENCOM, CENCRC, CENDSK, CENEXT, CENFLG, CENHDR, CENHOW, CENLEN, CENNAM, CENOFF, CENSIG, CENSIZ, CENTIM, CENVEM, CENVER, ENDCOM, ENDHDR, ENDOFF, ENDSIG, ENDSIZ, ENDSUB, ENDTOT, EXTCRC, EXTHDR, EXTLEN, EXTSIG, EXTSIZ, LOCCRC, LOCEXT, LOCFLG, LOCHDR, LOCHOW, LOCLEN, LOCNAM, LOCSIG, LOCSIZ, LOCTIM, LOCVER, OPEN_DELETE, OPEN_READ |
| Constructor Summary | |
ArchiveEntry(java.io.File f,
java.lang.String entry)
Identifies the specified entry within the container archive file. |
|
| Method Summary | |
java.util.zip.ZipEntry |
entry()
Retrieve the ZipEntry
. |
java.util.zip.ZipEntry |
entry(boolean open)
|
java.util.zip.ZipEntry |
entry(java.util.zip.ZipEntry zip)
|
java.lang.String |
entryName()
|
java.lang.String |
entryName(java.lang.String n)
|
java.io.InputStream |
inputStream()
Return the stream for the entry in the archive file identified by entry() so we can read the entry's
contents. |
| Methods inherited from class java.util.zip.ZipFile |
close, entries, finalize, getEntry, getInputStream, getName, size |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.zip.ZipEntry entry
protected java.lang.String entryName
| Constructor Detail |
public ArchiveEntry(java.io.File f,
java.lang.String entry)
throws java.io.IOException
f - the zip or jar fileentry - the entry within the archive file.| Method Detail |
public java.io.InputStream inputStream()
throws java.io.IOException
entry() so we can read the entry's
contents.public java.util.zip.ZipEntry entry()
ZipEntry
.public java.util.zip.ZipEntry entry(boolean open)
public java.util.zip.ZipEntry entry(java.util.zip.ZipEntry zip)
public java.lang.String entryName()
public java.lang.String entryName(java.lang.String n)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||