Name: akR10050 Date: 05/07/2003
javax.pack.Pack200.pack(JarFile in, OutputStream out) method accepts a JarFile
as the source of input. While it is reasonable to assume that jar content is
most likely to be available as a file, it is not always the case. Content of a
jar file can be available in many forms, a byte array is an example.
Pack200 API should provide a method to handle a JarInputStream along with (or
instead of) pack method for a JarFile. The signature of the method could be
public void javax.pack.Pack200.pack(JarInputStream in, OutputStream out)