summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
author李玺康 <[email protected]>2020-08-06 16:43:23 +0800
committer李玺康 <[email protected]>2020-08-06 16:43:23 +0800
commite43089b1ea08759107b1667aa512629191fd91db (patch)
treec9b2390c85a2924ea4a497a3ca6bec37991e10ab /src/test
parentca856ff9e61b5b553c7f14119f853ac5b2f3d14f (diff)
更新pom文件HEADmaster
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/EventTest.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/test/java/EventTest.java b/src/test/java/EventTest.java
new file mode 100644
index 0000000..6d4e065
--- /dev/null
+++ b/src/test/java/EventTest.java
@@ -0,0 +1,21 @@
+/**
+ * @ClassNameEventTest
+ * @Author [email protected]
+ * @Date2020/7/29 15:38
+ * @Version V1.0
+ **/
+public class EventTest {
+
+ public static void main(String[] args) {
+
+ String json = "\"0e1178ab-986f-4bbb-91f9-94b1f70ce3a2\",0,1546624800,1546624800,\"IPv4_UDP\",0,\"37.150.25.154\",\"46.20.187.219\",32265,44985,160,2,0,0,0,0,\"\",\"\",1,\"10.3.4.10\",\"48975-14441-46.20.187.219-37.150.25.154\",\"\",\"\",\"42322\",\"9198\",\"\",\"\",\"\",\"\",\"PROTO_ID=0;APP_ID=0;OS_ID=0;BS_ID=0;WEB_ID=0;BEHAV_ID=0;\",3,0,60,0,0,0,0,0,0,0";
+
+ String[] strings = json.replaceAll("\t"," " ).replaceAll("\"","" ).split(",");
+
+ System.out.println(strings[29]);
+ System.out.println(strings[28]);
+ System.out.println(strings[30]);
+
+
+ }
+}