Merge git+ssh://davetron5000@repo.or.cz/srv/git/vimdoclet
[vimdoclet.git] / sample / java.util.jar.Pack200.Unpacker.txt
blob5c5030c726e8d8c341a9627180f889e0b17d4d20
1 *java.util.jar.Pack200.Unpacker* *Pack200.Unpacker* The unpacker engine converts
3 public static interface interface Pack200.Unpacker
6 |java.util.jar.Pack200.Unpacker_Description|
7 |java.util.jar.Pack200.Unpacker_Fields|
8 |java.util.jar.Pack200.Unpacker_Constructors|
9 |java.util.jar.Pack200.Unpacker_Methods|
11 ================================================================================
13 *java.util.jar.Pack200.Unpacker_Fields*
14 |java.lang.String_java.util.jar.Pack200.Unpacker.DEFLATE_HINT|
15 |java.lang.String_java.util.jar.Pack200.Unpacker.FALSE|
16 |java.lang.String_java.util.jar.Pack200.Unpacker.KEEP|
17 |java.lang.String_java.util.jar.Pack200.Unpacker.PROGRESS|
18 |java.lang.String_java.util.jar.Pack200.Unpacker.TRUE|
20 *java.util.jar.Pack200.Unpacker_Methods*
21 |java.util.jar.Pack200.Unpacker.addPropertyChangeListener(PropertyChangeListener)|
22 |java.util.jar.Pack200.Unpacker.properties()|Get the set of this engine's prope
23 |java.util.jar.Pack200.Unpacker.removePropertyChangeListener(PropertyChangeListener)|
24 |java.util.jar.Pack200.Unpacker.unpack(File,JarOutputStream)|Read a Pack200 arc
25 |java.util.jar.Pack200.Unpacker.unpack(InputStream,JarOutputStream)|Read a Pack
27 *java.util.jar.Pack200.Unpacker_Description*
29 The unpacker engine converts the packed stream to a JAR file. An instance of 
30 the engine can be obtained using (|java.util.jar.Pack200.Unpacker|) . 
32 Every JAR file produced by this engine will include the string "PACK200" as a 
33 zip file comment. This allows a deployer to detect if a JAR archive was packed 
34 and unpacked. 
37 *java.lang.String_java.util.jar.Pack200.Unpacker.DEFLATE_HINT*
39 The unpacker engine converts the packed stream to a JAR file. An instance of 
40 the engine can be obtained using (|java.util.jar.Pack200.Unpacker|) . 
42 Every JAR file produced by this engine will include the string "PACK200" as a 
43 zip file comment. This allows a deployer to detect if a JAR archive was packed 
44 and unpacked. 
47 *java.lang.String_java.util.jar.Pack200.Unpacker.FALSE*
49 The unpacker engine converts the packed stream to a JAR file. An instance of 
50 the engine can be obtained using (|java.util.jar.Pack200.Unpacker|) . 
52 Every JAR file produced by this engine will include the string "PACK200" as a 
53 zip file comment. This allows a deployer to detect if a JAR archive was packed 
54 and unpacked. 
57 *java.lang.String_java.util.jar.Pack200.Unpacker.KEEP*
59 The unpacker engine converts the packed stream to a JAR file. An instance of 
60 the engine can be obtained using (|java.util.jar.Pack200.Unpacker|) . 
62 Every JAR file produced by this engine will include the string "PACK200" as a 
63 zip file comment. This allows a deployer to detect if a JAR archive was packed 
64 and unpacked. 
67 *java.lang.String_java.util.jar.Pack200.Unpacker.PROGRESS*
69 The unpacker engine converts the packed stream to a JAR file. An instance of 
70 the engine can be obtained using (|java.util.jar.Pack200.Unpacker|) . 
72 Every JAR file produced by this engine will include the string "PACK200" as a 
73 zip file comment. This allows a deployer to detect if a JAR archive was packed 
74 and unpacked. 
77 *java.lang.String_java.util.jar.Pack200.Unpacker.TRUE*
79 The unpacker engine converts the packed stream to a JAR file. An instance of 
80 the engine can be obtained using (|java.util.jar.Pack200.Unpacker|) . 
82 Every JAR file produced by this engine will include the string "PACK200" as a 
83 zip file comment. This allows a deployer to detect if a JAR archive was packed 
84 and unpacked. 
88 *java.util.jar.Pack200.Unpacker.addPropertyChangeListener(PropertyChangeListener)*
90 public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
92 Registers a listener for PropertyChange events on the properties map. This is 
93 typically used by applications to update a progress bar. 
95     listener - An object to be invoked when a property is changed. 
97 *java.util.jar.Pack200.Unpacker.properties()*
99 public |java.util.SortedMap| properties()
101 Get the set of this engine's properties. This set is a "live view", so that 
102 changing its contents immediately affects the Packer engine, and changes from 
103 the engine (such as progress indications) are immediately visible in the map. 
105 The property map may contain pre-defined implementation specific and default 
106 properties. Users are encouraged to read the information and fully understand 
107 the implications, before modifying pre-existing properties. 
109 Implementation specific properties are prefixed with a package name associated 
110 with the implementor, beginning with com. or a similar prefix. All property 
111 names beginning with pack. and unpack. are reserved for use by this API. 
113 Unknown properties may be ignored or rejected with an unspecified error, and 
114 invalid entries may cause an unspecified error to be thrown. 
117     Returns: A sorted association of option key strings to option values. 
118 *java.util.jar.Pack200.Unpacker.removePropertyChangeListener(PropertyChangeListener)*
120 public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
122 Remove a listener for PropertyChange events, added by the 
123 (|java.util.jar.Pack200.Unpacker|) . 
125     listener - The PropertyChange listener to be removed. 
127 *java.util.jar.Pack200.Unpacker.unpack(File,JarOutputStream)*
129 public void unpack(
130   java.io.File in,
131   java.util.jar.JarOutputStream out)
132   throws |java.io.IOException|
133          
134 Read a Pack200 archive, and write the encoded JAR to a JarOutputStream. 
136 Does not close its output. (The output can accumulate more elements.) 
138     in - a File. 
139     out - a JarOutputStream. 
141 *java.util.jar.Pack200.Unpacker.unpack(InputStream,JarOutputStream)*
143 public void unpack(
144   java.io.InputStream in,
145   java.util.jar.JarOutputStream out)
146   throws |java.io.IOException|
147          
148 Read a Pack200 archive, and write the encoded JAR to a JarOutputStream. The 
149 entire contents of the input stream will be read. It may be more efficient to 
150 read the Pack200 archive to a file and pass the File object, using the 
151 alternate method described below. 
153 Closes its input but not its output. (The output can accumulate more elements.) 
155     in - an InputStream. 
156     out - a JarOutputStream.