为跨平台,解决Windows与Linux下的不一样 路径分隔符 File.separator: (引用:import java.io.File) 系统换行符 System.getProperty("line.separator")