gboat2.base.view.util
类 DescJsonUtil
java.lang.Object
gboat2.base.view.util.DescJsonUtil
public class DescJsonUtil
- extends Object
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jsonFileName
public static String jsonFileName
DescJsonUtil
public DescJsonUtil()
covertComp
public static Comp covertComp(Comp comp,
String address)
covertCompToMinMode
public static Comp covertCompToMinMode(Comp comp)
handleDependencies
public static void handleDependencies(Comp comp,
String compAddress)
- 处理依赖
- 参数:
comp
-
isNeedAddMinSign
public static boolean isNeedAddMinSign(String devMode)
- 是否为开发模式
- 参数:
devMode
-
- 返回:
computeResourceUrl
public static String computeResourceUrl(String compName)
- 计算组件的实际路径
- 参数:
compName
-
- 返回:
isFileExist
public static boolean isFileExist(String compName,
String fileName)
loadDescJson
public static Comp loadDescJson(String resource)
- 通过指定的 ClassLoader 加载 json 配置文件
- 参数:
resource
- 需要加载的 json 资源文件的路径,如:/test/1.json
- 返回:
main
public static void main(String[] args)
Copyright © 2014 广联达软件股份有限公司(Glodon Software Co., Ltd.). All rights reserved.