public static String readline() {
String str = "";
try {
FileReader fr = new FileReader("f:\\123.txt");
BufferedReader br = new BufferedReader(fr);
str = br.readLine();
br.close();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
public static void writeline(String wr) {
try {
PrintWriter pw=new PrintWriter(new FileWriter("f:\\123.txt"));
pw.write(wr);
pw.close();
} catch (IOException e) {
e.printStackTrace();
}
}