Package io.anyline2
Interface AssetUtil
-
- All Implemented Interfaces:
public interface AssetUtil
-
-
Method Summary
Modifier and Type Method Description static JSONObject
getAnylineAssetsJson(Context context, String fileName)
Get the json object from the assets with the given file name. abstract String
getAssetPathForPlugin(@NonNull() ScanController.PluginType pluginType)
-
-
Method Detail
-
getAnylineAssetsJson
static JSONObject getAnylineAssetsJson(Context context, String fileName)
Get the json object from the assets with the given file name.
- Parameters:
context
- the contextfileName
- the name of the json file in the assets folder to read- Returns:
the json object from the assets with the given file name.
-
getAssetPathForPlugin
@Nullable() abstract String getAssetPathForPlugin(@NonNull() ScanController.PluginType pluginType)
-
-
-
-