From 33613a85afc4b1481367fbe92a17ee59c240250b Mon Sep 17 00:00:00 2001 From: Sven Eisenhauer Date: Fri, 10 Nov 2023 15:11:48 +0100 Subject: add new repo --- .../src/camelclient/CsvClient.java | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Master/Daten- und Systemintegration/camelprototypeclient/src/camelclient/CsvClient.java (limited to 'Master/Daten- und Systemintegration/camelprototypeclient/src') diff --git a/Master/Daten- und Systemintegration/camelprototypeclient/src/camelclient/CsvClient.java b/Master/Daten- und Systemintegration/camelprototypeclient/src/camelclient/CsvClient.java new file mode 100644 index 0000000..ceb430a --- /dev/null +++ b/Master/Daten- und Systemintegration/camelprototypeclient/src/camelclient/CsvClient.java @@ -0,0 +1,21 @@ +package camelclient; + +import java.io.BufferedWriter; +import java.io.FileWriter; +import java.io.IOException; + +public class CsvClient { + static final String CSVFILE = "D:\\Studium\\Master\\Daten- und Systemintegration\\CamelPrototype\\target\\csvinput\\cust1.csv"; + static final String DATA = "123,Test Article1,3\n245,Test Article2,4\n367,Test Article3,7"; + + public static void main(String[] args) { + try { + BufferedWriter bw = new BufferedWriter(new FileWriter(CSVFILE)); + bw.write(DATA); + bw.close(); + } catch (IOException e) { + e.printStackTrace(); + } + } + +} -- cgit v1.2.3