- 浏览: 5544 次
- 性别:
-
最新评论
文章列表
Runtime time =Runtime.getRuntime();
File file = new File("D:\\Dev\\2 2");
try {
time.exec(new String[]{"cmd","/c","start","25.xls"}, null, file);
} catch (IOException e) {
e.printStackTrace();
}
String kk = "zwb";
StringBuffer buffer = new StringBuffer();
for(int k=0;k<kk.length();k++)
{
buffer.append(Integer.toHexString(kk.charAt(k)));
}
System.out.println("kkk "+buffer.toString());
看osgi原理与最佳实践中,可能cxf更新太快,书中的许多参数都不能使用了,经过查阅资料,把正确的东东供大家参考:
当使用cxf dosgi时,在服务器端的参数变化:
props.put("service.exported.interfaces", "*");
props.put("service.exported.configs", "org.apache.cxf.ws");
props.put("org.apache.cxf.ws.address" ...
java.util.ConcurrentModificationException
at java.util.AbstractList$Itr.checkForComodification(Unknown Source)
at java.util.AbstractList$Itr.next(Unknown Source)
at com.uaes.ucm.dialog.artifact.BCUpgradeResultDialog.shinkResult(BCUpgradeResultDialog.java:205)
at com.uaes.ucm.dialog.artifact.BCUpg ...
class Note{
public Note() {
}
private Note leftNote;//左节点
private Note rigthNote;//右节点
private int value;//节点出的值
//添加get/set方法
public Note getLeftNote() {
return leftNote;
}
public void setLeftNote(Note leftNote) {
this.leftNote = leftNote;
}
public Note getRigthNote() {
...