SparseImageUtil
public
class
SparseImageUtil
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.util.SparseImageUtil |
Utility to unsparse sparse images.
This piece of code is adopted from: frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/SparseInputStream.java
สรุป
คลาสที่ซ้อนกัน | |
|---|---|
class |
SparseImageUtil.SparseInputStream
SparseInputStream read from upstream and detects the data format. |
เครื่องมือสร้างสาธารณะ | |
|---|---|
SparseImageUtil()
|
|
เมธอดสาธารณะ | |
|---|---|
static
boolean
|
isSparse(File imgFile)
Tests if file is a sparse image. |
static
void
|
unsparse(File imgFile, File destFile)
Unsparses a sparse image file. |
เครื่องมือสร้างสาธารณะ
SparseImageUtil
public SparseImageUtil ()
เมธอดสาธารณะ
isSparse
public static boolean isSparse (File imgFile)
Tests if file is a sparse image.
| พารามิเตอร์ | |
|---|---|
imgFile |
File: a File that is to be tested. |
| การคืนสินค้า | |
|---|---|
boolean |
true if imgFile is a sparse image. |