public class ObbScanner
extends Object
| java.lang.Object | |
| ↳ | android.content.res.ObbScanner |
用于扫描不透明二进制Blob(OBB)文件的类。 使用它通过ObbInfo获取有关OBB文件在程序中使用的ObbInfo 。
Public methods |
|
|---|---|
static ObbInfo |
getObbInfo(String filePath) 扫描文件以获取OBB信息。 |
Inherited methods |
|
|---|---|
java.lang.Object
|
|
ObbInfo getObbInfo (String filePath)
扫描文件以获取OBB信息。
| Parameters | |
|---|---|
filePath |
String: path to the OBB file to be scanned. |
| Returns | |
|---|---|
ObbInfo |
ObbInfo object information corresponding to the file path |
| Throws | |
|---|---|
IllegalArgumentException |
if the OBB file couldn't be found |
IOException |
if the OBB file couldn't be read |