public class PluginUtils
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
FR_VERSION |
构造器和说明 |
---|
PluginUtils() |
限定符和类型 | 方法和说明 |
---|---|
static PluginMarker |
createPluginMarker(java.lang.String pluginInfo) |
static void |
downloadShopScripts(java.lang.String id,
Process<java.lang.Double> p) |
static JSONArray |
filterPluginsFromVersion(JSONArray oriJSONArray)
在不同设计器版本下展示不同插件
|
static PluginMarker |
getInstalledPluginMarkerByID(java.lang.String pluginID) |
static JSONObject |
getLatestPluginInfo(java.lang.String pluginID) |
static java.lang.String |
getMessageByErrorCode(PluginErrorCode errorCode) |
static boolean |
isPluginMatch(PluginView pluginView,
java.lang.String text) |
static java.lang.String |
pluginToHtml(PluginView pluginView) |
static JSONArray |
transferStorePluginToJson(PluginContext[] pluginContexts) |
static java.lang.String |
transPluginsToString(java.util.List<PluginContext> plugins) |
public static final java.lang.String FR_VERSION
public static PluginMarker createPluginMarker(java.lang.String pluginInfo)
public static JSONObject getLatestPluginInfo(java.lang.String pluginID) throws java.lang.Exception
java.lang.Exception
public static java.lang.String transPluginsToString(java.util.List<PluginContext> plugins) throws java.lang.Exception
java.lang.Exception
public static void downloadShopScripts(java.lang.String id, Process<java.lang.Double> p) throws java.lang.Exception
java.lang.Exception
public static boolean isPluginMatch(PluginView pluginView, java.lang.String text)
public static java.lang.String pluginToHtml(PluginView pluginView)
public static java.lang.String getMessageByErrorCode(PluginErrorCode errorCode)
public static PluginMarker getInstalledPluginMarkerByID(java.lang.String pluginID)
public static JSONArray filterPluginsFromVersion(JSONArray oriJSONArray) throws java.lang.Exception
java.lang.Exception
public static JSONArray transferStorePluginToJson(PluginContext[] pluginContexts)