MCPcopy Create free account
hub / github.com/HelloBush/Java_MHXYdemo / SetDict

Method SetDict

src/pkgDm/Dm2Java.java:2302–2304  ·  view source on GitHub ↗

设置字库文件 注: 此函数速度很慢,全局初始化时调用一次即可,切换字库用UseDict @param index 整形数:字库的序号,取值为0-9,目前最多支持10个字库 @param file 字符串:字库文件名 @return 0: 失败 1: 成功

(int index,String file)

Source from the content-addressed store, hash-verified

2300 * @return 0: 失败 1: 成功
2301 */
2302 public int SetDict(int index,String file){
2303 return Dispatch.call(dm, "SetDict", index,file).getInt();
2304 }
2305
2306 /**
2307 * 设置字库的密码,在SetDict前调用,目前的设计是,所有字库通用一个密码.

Callers 1

mainMethod · 0.95

Calls 2

callMethod · 0.95
getIntMethod · 0.45

Tested by 1

mainMethod · 0.76