刘韬 vor 2 Jahren
Ursprung
Commit
1f10de8b3e
1 geänderte Dateien mit 15 neuen und 0 gelöschten Zeilen
  1. 15 0
      DataFusion/src/com/zskk/control/ViewController.java

+ 15 - 0
DataFusion/src/com/zskk/control/ViewController.java

@@ -501,6 +501,21 @@ public class ViewController extends Controller {
 		}
 	}
 	
+	public void testdld() {
+		try {
+			String filePath = "http://200.200.200.163:8090/X-0-202208261038400267000310351.PNG";
+			String fileNameStr[] = filePath.split("/");
+			String fileName = fileNameStr[fileNameStr.length - 1];
+			String fileStorePath = getFileWithUrl(filePath, fileName);
+			renderText(fileStorePath);
+
+		} catch (Exception e) {
+			// TODO: handle exception
+			renderText(e.toString());
+		}
+		
+	}
+	
 	public static DruidPlugin createConnectedDruidPlugin() {
 
 		return new DruidPlugin(PropKit.get("jdbcUrl_print"), PropKit.get("user_print"),PropKit.get("password_print").trim());