import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
public class Test {
private static String[] stringlist;
public static void main(String[] args) throws Exception {
String filePath1="C:\zlb\ApplicationResourcesNew.txt";
String filePath2="C:\zlb\000.txt";
String item;
BufferedReader in=new BufferedReader(new InputStreamReader( new FileInputStream(filePath1), "utf-8"));
BufferedWriter ou=new BufferedWriter(new OutputStreamWriter(new FileOutputStream(filePath2),"utf-8"));
while((item=in.readLine())!=null){
stringlist=item.split("=");
for(int i=0;i<stringlist.length;i+=2){
ou.write(stringlist[i]);
ou.newLine();
}
}
in.close();
ou.close();
}
}