标签:获取 string csharp lin print highlight window str java
System.out.println(System.getProperty("user.dir")); //windows 目录写法: String jsonData = new String(Files.readAllBytes(Paths.get("d:\\work\\test.json"))); //Linux目录写法 String jsonData = new String(Files.readAllBytes(Paths.get("/home/blue/test.json")));
标签:获取 string csharp lin print highlight window str java
原文地址:https://www.cnblogs.com/v5captain/p/12791642.html