|
|
|
@ -347,7 +347,7 @@ public class FileUtils
|
|
|
|
|
* @return {@code String}
|
|
|
|
|
*/
|
|
|
|
|
public static String readJsonFile(String Filename) {
|
|
|
|
|
String jsonStr = "";
|
|
|
|
|
String jsonStr;
|
|
|
|
|
try {
|
|
|
|
|
File jsonFile = new File(Filename);
|
|
|
|
|
FileReader fileReader = new FileReader(jsonFile);
|
|
|
|
@ -362,8 +362,7 @@ public class FileUtils
|
|
|
|
|
jsonStr = sb.toString();
|
|
|
|
|
return jsonStr;
|
|
|
|
|
} catch (IOException e) {
|
|
|
|
|
e.printStackTrace();
|
|
|
|
|
return null;
|
|
|
|
|
throw new ServiceException(e.getMessage());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|