I have a file I am trying to read, to get a value that i will be needing as input.
([KB_175346] of String
(name "classes_file_name")
(string_value "sample1.albs"))
I need to read the value called sample1.albs into another string which i give as an input to another program.
String file = "/t(name "classes_file_name")" .....error
while((line1 = bin.readLine())!= null){
st = new StringTokenizer(line1);
if (line1.startsWith(file)){
line1 = bin.readLine();
V1 = st.nextToken();
V2 = st.nextToken();
finalname = V2;
finalname = finalname.substring(1,finalname.length()-3);
System.out.println(finalname);
}
Can you tell me what to do?
Thanks
Chipsncoke