ICompressionStrategy

public interface ICompressionStrategy

com.android.tradefed.util.ICompressionStrategy


表示可以在運行時選擇的壓縮算法的接口。

概括

公開方法

abstract File compress (File source)

壓縮source文件(或文件夾)並返回生成的存檔。

abstract LogDataType getLogDataType ()

返回此策略使用的存檔格式的LogDataType

公開方法

壓縮

public abstract File compress (File source)

壓縮source文件(或文件夾)並返回生成的存檔。

參數
source File :要壓縮的文件或目錄

退貨
File壓縮檔案

投擲
如果操作無法完成

getLogDataType

public abstract LogDataType getLogDataType ()

返回此策略使用的存檔格式的LogDataType

退貨
LogDataType