1 *java.util.jar.JarOutputStream* *JarOutputStream* The JarOutputStream class is u
3 public class JarOutputStream
4 extends |java.util.zip.ZipOutputStream|
6 |java.util.jar.JarOutputStream_Description|
7 |java.util.jar.JarOutputStream_Fields|
8 |java.util.jar.JarOutputStream_Constructors|
9 |java.util.jar.JarOutputStream_Methods|
11 ================================================================================
13 *java.util.jar.JarOutputStream_Constructors*
14 |java.util.jar.JarOutputStream(OutputStream)|Creates a new JarOutputStream with
15 |java.util.jar.JarOutputStream(OutputStream,Manifest)|Creates a new JarOutputSt
17 *java.util.jar.JarOutputStream_Methods*
18 |java.util.jar.JarOutputStream.putNextEntry(ZipEntry)|Begins writing a new JAR
20 *java.util.jar.JarOutputStream_Description*
22 The JarOutputStream class is used to write the contents of a JAR file to any
23 output stream. It extends the class java.util.zip.ZipOutputStream with support
24 for writing an optional Manifest entry. The Manifest can be used to specify
25 meta-information about the JAR file and its entries.
28 *java.util.jar.JarOutputStream(OutputStream)*
30 public JarOutputStream(java.io.OutputStream out)
31 throws |java.io.IOException|
33 Creates a new JarOutputStream with no manifest.
35 out - the actual output stream
37 *java.util.jar.JarOutputStream(OutputStream,Manifest)*
39 public JarOutputStream(
40 java.io.OutputStream out,
41 java.util.jar.Manifest man)
42 throws |java.io.IOException|
44 Creates a new JarOutputStream with the specified Manifest. The manifest is
45 written as the first entry to the output stream.
47 out - the actual output stream
48 man - the optional Manifest
50 *java.util.jar.JarOutputStream.putNextEntry(ZipEntry)*
52 public void putNextEntry(java.util.zip.ZipEntry ze)
53 throws |java.io.IOException|
55 Begins writing a new JAR file entry and positions the stream to the start of
56 the entry data. This method will also close any previous entry. The default
57 compression method will be used if no compression method was specified for the
58 entry. The current time will be used if the entry has no set modification time.
60 ze - the ZIP/JAR entry to be written