Home | History | Annotate | Download | only in shared

Lines Matching refs:strategy

25  * compression, the default strategy, and no-wrap by default along with a 32k read buffer and a 32k
36 * The compression strategy to use. Defaults to {@link Deflater#DEFAULT_STRATEGY}.
38 private int strategy = Deflater.DEFAULT_STRATEGY;
115 * Returns the strategy that will be used, from {@link Deflater}.
116 * @return the strategy
119 return strategy;
123 * Sets the strategy that will be used. Valid values can be found in {@link Deflater}. Defaults to
125 * @param strategy the strategy to be used
127 public void setStrategy(int strategy) {
128 if (deflater != null && strategy != this.strategy) {
130 deflater.setStrategy(strategy);
132 this.strategy = strategy;
203 result.setStrategy(strategy);