| 构造器和说明 |
|---|
ResourceUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
geFileFromAssets(android.content.Context context,
String fileName)
get an asset using ACCESS_STREAMING mode.
|
static String |
geFileFromRaw(android.content.Context context,
int resId)
get content from a raw resource.
|
public static String geFileFromAssets(android.content.Context context, String fileName)
context - fileName - The name of the asset to open. This name can be hierarchical.public static String geFileFromRaw(android.content.Context context, int resId)
context - resId - The resource identifier to open, as generated by the appt tool.Copyright © 2012-2014. All Rights Reserved.