package com.vci.server.workflow.server.taskEventEdit;
|
|
import java.io.IOException;
|
|
import com.vci.corba.workflow.data.EventInfo;
|
|
public class EventEditDelegate {
|
|
public void creatTxtFile() throws IOException{
|
new EventEdit().creatTxtFile();
|
}
|
|
public String readTxtFile(){
|
return new EventEdit().readTxtFile();
|
}
|
|
public void writeTxtFile(EventInfo[] eventInfoList) throws IOException{
|
if(eventInfoList!=null){
|
for(int i=0;i<eventInfoList.length;i++){
|
String newStr = eventInfoList[i].key + " = " + eventInfoList[i].value;
|
new EventEdit().writeTxtFile(newStr);
|
}
|
}
|
}
|
public void replaceTxtByStr(String oldStr,String replaceStr) {
|
new EventEdit().replaceTxtByStr(oldStr, replaceStr);
|
}
|
|
}
|