Commit 6109e928 by chengzhuoshen

pacs008001报文要素配置文件

parent 040ff4dd
...@@ -9,7 +9,8 @@ import java.io.IOException; ...@@ -9,7 +9,8 @@ import java.io.IOException;
public class Test { public class Test {
public static void main(String[] args) throws IOException { public static void main(String[] args) throws IOException {
File file = new File("d:/test/MxPacs00800108.xml"); File file = new File(System.getProperty("user.dir")+"\\swiftCore\\src\\main\\resources\\swiftXml\\MxPacs00800108.xml");
//File file = new File("d:/test/MxPacs00800108.xml");
String xmlStr = FileUtils.readFileToString(file); String xmlStr = FileUtils.readFileToString(file);
String jsonStr = SwiftTransfer.mx2Element(xmlStr); String jsonStr = SwiftTransfer.mx2Element(xmlStr);
System.out.println(jsonStr); System.out.println(jsonStr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment