Android
java.util.jar
public static interface

java.util.jar.Pack200.Unpacker

java.util.jar.Pack200.Unpacker

interface of unpacker

Summary

Constants

      Value  
String  DEFLATE_HINT  The String indicating if the unpacker should ignore all transmitted values,can be replaced by either true or false   "unpack.deflate.hint" 
String  FALSE  a String of false   "false" 
String  KEEP  a String of keep   "keep" 
String  PROGRESS  the progress as a percentage   "unpack.progress" 
String  TRUE  a String of true   "true" 

Public Methods

          SortedMap<StringString properties()
          void  unpack(InputStream in, JarOutputStream out)
unpack stream into jarfile with pack arithmetic
          void  unpack(File in, JarOutputStream out)
unpack File into jarfile with pack arithmetic

Details

Constants

public static final String DEFLATE_HINT

The String indicating if the unpacker should ignore all transmitted values,can be replaced by either true or false
Constant Value: "unpack.deflate.hint"

public static final String FALSE

a String of false
Constant Value: "false"

public static final String KEEP

a String of keep
Constant Value: "keep"

public static final String PROGRESS

the progress as a percentage
Constant Value: "unpack.progress"

public static final String TRUE

a String of true
Constant Value: "true"

Public Methods

public SortedMap<StringString> properties()

Returns

  • the properties of unpacker

public void unpack(InputStream in, JarOutputStream out)

unpack stream into jarfile with pack arithmetic

Parameters

in stream to uncompact
out jarstream of uncompact data

Throws

IOException if I/O exception occurs

public void unpack(File in, JarOutputStream out)

unpack File into jarfile with pack arithmetic

Parameters

in file to be uncompact
out jarstream of uncompact data

Throws

IOException if I/O exception occurs
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56