\r\n不好使的话,用下面这个,跟平台无关

System.getProperty("line.separator")