|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface Pack200.Packer
interface of Packer
| Field Summary | |
|---|---|
static String |
CLASS_ATTRIBUTE_PFX
the format of a class attribute name |
static String |
CODE_ATTRIBUTE_PFX
the format of a code attribute name |
static String |
DEFLATE_HINT
the deflation hint to set in the output archive |
static String |
EFFORT
the indicated amount of effort to use in compressing the archive. |
static String |
ERROR
a String of error |
static String |
FALSE
a String of false |
static String |
FIELD_ATTRIBUTE_PFX
the format of a field attribute name |
static String |
KEEP
a String of keep |
static String |
KEEP_FILE_ORDER
decide if all elements shall transmit in their original order |
static String |
LATEST
a String of latest |
static String |
METHOD_ATTRIBUTE_PFX
the format of a method attribute name |
static String |
MODIFICATION_TIME
Packer shall attempt to determine the latest modification time if this is set to LASTEST |
static String |
PASS
a String of pass |
static String |
PASS_FILE_PFX
the file that will not be compressed. |
static String |
PROGRESS
packer progress as a percentage |
static String |
SEGMENT_LIMIT
The number of bytes of each archive segment. |
static String |
STRIP
a String of strip |
static String |
TRUE
a String of true |
static String |
UNKNOWN_ATTRIBUTE
the action to take if an unknown attribute is encountered. |
| Method Summary | |
|---|---|
void |
pack(JarFile in,
OutputStream out)
Pack jarfile with pack arithmetic |
void |
pack(JarInputStream in,
OutputStream out)
Pack jarStream with pack arithmetic |
SortedMap<String,String> |
properties()
|
| Field Detail |
|---|
static final String CLASS_ATTRIBUTE_PFX
static final String CODE_ATTRIBUTE_PFX
static final String DEFLATE_HINT
static final String EFFORT
static final String ERROR
static final String FALSE
static final String FIELD_ATTRIBUTE_PFX
static final String KEEP
static final String KEEP_FILE_ORDER
static final String LATEST
static final String METHOD_ATTRIBUTE_PFX
static final String MODIFICATION_TIME
static final String PASS
static final String PASS_FILE_PFX
static final String PROGRESS
static final String SEGMENT_LIMIT
static final String STRIP
static final String TRUE
static final String UNKNOWN_ATTRIBUTE
| Method Detail |
|---|
SortedMap<String,String> properties()
void pack(JarFile in,
OutputStream out)
throws IOException
in - jarfile to be compactout - stream of compact data
IOException - if I/O exception occurs
void pack(JarInputStream in,
OutputStream out)
throws IOException
in - stream of uncompact jar dataout - stream of compact data
IOException - if I/O exception occurs
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||