36 换行符,路径分隔符,路径等

windows linux同样适用的换行符,路径分隔符

String newLine= System.getProperty("line.separator");
File.separator

获取工程路径:

System.getProperty("user.dir")
原文地址:https://www.cnblogs.com/yangh2016/p/6598786.html