Hi all,
The code attached below is a small extract of machine generated java, which gets dumped into a text file. Each block of code below refers to a process, which had a start point, setFrom, and end point, setTo, and the instruction/verb required to start this, setSelection.
The intention I have is to read each block of code below from the text file, and decipher the 3 main lines I am interested in. So far my code can read each line of code into a string, but I need to know how I can cut out the specfic information from ths line. An example would be:
nodeP1R2.setFrom("SJP_8340_POInv_Input"); = "SJP_8340_POInv_Input"
Thanx in advance
The code attached below is a small extract of machine generated java, which gets dumped into a text file. Each block of code below refers to a process, which had a start point, setFrom, and end point, setTo, and the instruction/verb required to start this, setSelection.
The intention I have is to read each block of code below from the text file, and decipher the 3 main lines I am interested in. So far my code can read each line of code into a string, but I need to know how I can cut out the specfic information from ths line. An example would be:
nodeP1R2.setFrom("SJP_8340_POInv_Input"); = "SJP_8340_POInv_Input"
Thanx in advance
Code:
DKRouteListEntryICM nodeP1R2 = new DKRouteListEntryICM();
nodeP1R2.setFrom("SJP_8340_POInv_Input");
nodeP1R2.setTo("SJP_8340_BuyerRefer_Rework");
nodeP1R2.setSelection("SJP_8340_BuyerRefer_Rework");
routesP1.addElement(nodeP1R2);
DKRouteListEntryICM nodeP1R3 = new DKRouteListEntryICM();
nodeP1R3.setFrom("SJP_8340_POInv_Input");
nodeP1R3.setTo("SJP_8340_TaxRefer_Rework");
nodeP1R3.setSelection("SJP_8340_TaxRefer_Rework");
routesP1.addElement(nodeP1R3);