ICompressionStrategy
public
interface
ICompressionStrategy
| com.android.tradefed.util.ICompressionStrategy |
代表可在執行階段選取的壓縮演算法的介面。
摘要
公用方法 | |
|---|---|
abstract
File
|
compress(File source)
壓縮 |
abstract
LogDataType
|
getLogDataType()
傳回這項策略所使用的封存格式的 |
公用方法
compress
public abstract File compress (File source)
壓縮 source 檔案 (或資料夾),並傳回產生的封存檔。
| 參數 | |
|---|---|
source |
File:要壓縮的檔案或目錄 |
| 傳回 | |
|---|---|
File |
壓縮檔 |
| 擲回 | |
|---|---|
|
如果無法完成作業 |
getLogDataType
public abstract LogDataType getLogDataType ()
傳回這項策略所使用的封存格式的 LogDataType。
| 傳回 | |
|---|---|
LogDataType |
|