有两种方法获得
1.
2.或者
1.
String separator = System.getProperties().getProperty("file.separator");
2.或者
String separator = File.separator