FuseUtil
public
class
FuseUtil
extends Object
java.lang.Object | |
↳ | com.android.tradefed.util.FuseUtil |
FUSE 作業的輔助類別。
摘要
公用建構函式 | |
---|---|
FuseUtil()
|
公用方法 | |
---|---|
boolean
|
canMountZip()
傳回系統是否支援 ZIP 掛載。 |
void
|
mountZip(File zipFile, File mountDir)
以唯讀模式掛接 ZIP 檔案做為檔案系統。 |
void
|
unmountZip(File mountDir)
卸載已掛載的 ZIP 檔案。 |
公用建構函式
FuseUtil
public FuseUtil ()
公用方法
canMountZip
public boolean canMountZip ()
傳回系統是否支援 zip 掛載。
只有在可使用 fuse-zip 時,系統才支援掛載 ZIP 檔案。
傳回 | |
---|---|
boolean |
如果系統支援 ZIP 掛載,則為「是」。否則為 false。 |
mountZip
public void mountZip (File zipFile, File mountDir)
以唯讀模式掛接 ZIP 檔案做為檔案系統。
參數 | |
---|---|
zipFile |
File :要掛載的 ZIP 檔案。 |
mountDir |
File :掛接點。 |
unmountZip
public void unmountZip (File mountDir)
卸載已掛載的 ZIP 檔案。
參數 | |
---|---|
mountDir |
File :掛接點。 |