String line = System.getProperty("line.separator"); 转载于:https://www.cnblogs.com/feimeng0530/p/3993220.html