Pack200IUnpackerExtensions.UnpackAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| UnpackAsync(Pack200+IUnpacker, File, JarOutputStream) |
Converts a Pack200 file to JAR entries on a thread pool thread. |
| UnpackAsync(Pack200+IUnpacker, Stream, JarOutputStream) |
Converts a Pack200 input stream to JAR entries on a thread pool thread. |
UnpackAsync(Pack200+IUnpacker, File, JarOutputStream)
Converts a Pack200 file to JAR entries on a thread pool thread.
public static System.Threading.Tasks.Task UnpackAsync(this Java.Util.Jar.Pack200.IUnpacker self, Java.IO.File? in, Java.Util.Jar.JarOutputStream? out);
static member UnpackAsync : Java.Util.Jar.Pack200.IUnpacker * Java.IO.File * Java.Util.Jar.JarOutputStream -> System.Threading.Tasks.Task
Parameters
- self
- Pack200.IUnpacker
The unpacker that performs the conversion.
- in
- File
The file that contains the Pack200 archive.
- out
- JarOutputStream
The JAR output stream to which the entries are written.
Returns
A task that represents the unpacking operation.
Remarks
Runs Unpack(File, JarOutputStream) on a thread pool thread. The unpacker leaves the output open.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
UnpackAsync(Pack200+IUnpacker, Stream, JarOutputStream)
Converts a Pack200 input stream to JAR entries on a thread pool thread.
public static System.Threading.Tasks.Task UnpackAsync(this Java.Util.Jar.Pack200.IUnpacker self, System.IO.Stream? in, Java.Util.Jar.JarOutputStream? out);
static member UnpackAsync : Java.Util.Jar.Pack200.IUnpacker * System.IO.Stream * Java.Util.Jar.JarOutputStream -> System.Threading.Tasks.Task
Parameters
- self
- Pack200.IUnpacker
The unpacker that performs the conversion.
- in
- Stream
The stream that contains the Pack200 archive.
- out
- JarOutputStream
The JAR output stream to which the entries are written.
Returns
A task that represents the unpacking operation.
Remarks
Runs Unpack(Stream, JarOutputStream) on a thread pool thread. The unpacker closes the input but leaves the output open.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.