|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
java.util.zip.DeflaterOutputStream
java.util.zip.ZipOutputStream
java.util.jar.JarOutputStream
public class JarOutputStream
The JarOutputStream is used to output data in JarFile format.
| Field Summary |
|---|
| Fields inherited from class java.util.zip.ZipOutputStream |
|---|
DEFLATED, STORED |
| Fields inherited from class java.util.zip.DeflaterOutputStream |
|---|
buf, def |
| Fields inherited from class java.io.FilterOutputStream |
|---|
out |
| Fields inherited from interface java.util.zip.ZipConstants |
|---|
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 |
| Constructor Summary | |
|---|---|
JarOutputStream(OutputStream os)
Constructs a new JarOutputStream using os as the underlying stream. |
|
JarOutputStream(OutputStream os,
Manifest mf)
Constructs a new JarOutputStream using os as the underlying stream. |
|
| Method Summary | |
|---|---|
void |
putNextEntry(ZipEntry ze)
Writes the specified entry to the underlying stream. |
| Methods inherited from class java.util.zip.ZipOutputStream |
|---|
close, closeEntry, finish, setComment, setLevel, setMethod, write |
| Methods inherited from class java.util.zip.DeflaterOutputStream |
|---|
deflate, write |
| Methods inherited from class java.io.FilterOutputStream |
|---|
flush, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JarOutputStream(OutputStream os,
Manifest mf)
throws IOException
os - The OutputStream to write tomf - The Manifest to output for this Jar.
IOException - If an error occurs creating the JarOutputStream
public JarOutputStream(OutputStream os)
throws IOException
os - The OutputStream to write to
IOException - If an error occurs creating the JarOutputStream| Method Detail |
|---|
public void putNextEntry(ZipEntry ze)
throws IOException
putNextEntry in class ZipOutputStreamze - The ZipEntry to write
IOException - If an error occurs writing the entryZipOutputStream.write(byte[], int, int)
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||