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

 

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

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

获取工程路径:

System.getProperty("user.dir")
posted @ 2017-03-22 11:05  life_start  阅读(151)  评论(0编辑  收藏  举报