Home | History | Annotate | Download | only in zip

Lines Matching refs:strategy

88      * The default compression strategy.
98 * A compression strategy.
103 * A compression strategy.
145 private int strategy = DEFAULT_STRATEGY;
160 * The compression strategy can be specified with {@link #setStrategy}. A
171 * The compression strategy can be specified with {@link #setStrategy}.
184 * header. The strategy can be specified using {@link #setStrategy}.
191 streamHandle = createStream(compressLevel, strategy, noHeader);
350 * previously made settings for the compression strategy or level. This
406 setLevelsImpl(compressLevel, strategy, streamHandle);
412 private native void setLevelsImpl(int level, int strategy, long handle);
434 * Sets the compression strategy to be used. The strategy must be one of
439 * If the strategy specified is not one of FILTERED,
442 public synchronized void setStrategy(int strategy) {
443 if (strategy < DEFAULT_STRATEGY || strategy > HUFFMAN_ONLY) {
444 throw new IllegalArgumentException("Bad strategy: " + strategy);
449 this.strategy = strategy;