壓縮策略
public interface ICompressionStrategy
com.android.tradefed.util.ICompressionStrategy |
表示可以在運行時選擇的壓縮算法的接口。
概括
公共方法 | |
---|---|
abstract File | compress (File source) 壓縮 |
abstract LogDataType | getLogDataType () 返回此策略使用的存檔格式的 |
公共方法
壓縮
public abstract File compress (File source)
壓縮source
文件(或文件夾)並返回生成的存檔。
參數 | |
---|---|
source | File : 要壓縮的文件或目錄 |
退貨 | |
---|---|
File | 壓縮檔案 |
投擲 | |
---|---|
| 如果操作無法完成 |