Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/gwt/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Gwt 拆分和掩码在本地主机上不起作用_Gwt - Fatal编程技术网

Gwt 拆分和掩码在本地主机上不起作用

Gwt 拆分和掩码在本地主机上不起作用,gwt,Gwt,Gwt版本2.2 我想拆分字符串并设置textitem的掩码 例如: String b=ADN.CNNC.RR.44; String[] a= b.split("\\."); textItem.setMask(a[0] + ">C<CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC"); textItem.setValue(a[a.length -1]); textItem's Mask : ADN textItem's Value : 44 字符串b=ADN.

Gwt版本2.2 我想拆分字符串并设置textitem的掩码

例如:

String b=ADN.CNNC.RR.44;
String[] a= b.split("\\.");

textItem.setMask(a[0] + ">C<CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC");
textItem.setValue(a[a.length -1]);

textItem's Mask : ADN
textItem's Value : 44
字符串b=ADN.CNNC.RR.44;
字符串[]a=b.split(\\);
textItem.setMask(a[0]+>C没有提到String.mask()方法,我想当时不支持它