weimingfei
8 天以前 4e4017b2e55c70c32bd725fc9c9bda335ddc59f6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.doumee.lib_coremodel.util.luban;
 
/**
 * Created on 2018/1/3 19:43
 *
 * @author andy
 *
 * A functional interface (callback) that returns true or false for the given input path should be compressed.
 */
 
public interface CompressionPredicate {
 
    /**
     * Determine the given input path should be compressed and return a boolean.
     * @param path input path
     * @return the boolean result
     */
    boolean apply(String path);
}