田源
2024-03-07 4b4083fd73dc27ece42f4835483565eef0e4f608
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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);
     }
 
}