summaryrefslogtreecommitdiffstats
path: root/Master/Daten- und Systemintegration/camelprototypeclient
diff options
context:
space:
mode:
authorSven Eisenhauer <sven@sven-eisenhauer.net>2023-11-10 15:11:48 +0100
committerSven Eisenhauer <sven@sven-eisenhauer.net>2023-11-10 15:11:48 +0100
commit33613a85afc4b1481367fbe92a17ee59c240250b (patch)
tree670b842326116b376b505ec2263878912fca97e2 /Master/Daten- und Systemintegration/camelprototypeclient
downloadStudium-33613a85afc4b1481367fbe92a17ee59c240250b.tar.gz
Studium-33613a85afc4b1481367fbe92a17ee59c240250b.tar.bz2
add new repoHEADmaster
Diffstat (limited to 'Master/Daten- und Systemintegration/camelprototypeclient')
-rw-r--r--Master/Daten- und Systemintegration/camelprototypeclient/.classpath6
-rw-r--r--Master/Daten- und Systemintegration/camelprototypeclient/.project23
-rw-r--r--Master/Daten- und Systemintegration/camelprototypeclient/.settings/org.eclipse.jdt.core.prefs12
-rw-r--r--Master/Daten- und Systemintegration/camelprototypeclient/src/camelclient/CsvClient.java21
4 files changed, 62 insertions, 0 deletions
diff --git a/Master/Daten- und Systemintegration/camelprototypeclient/.classpath b/Master/Daten- und Systemintegration/camelprototypeclient/.classpath
new file mode 100644
index 0000000..6e7e26f
--- /dev/null
+++ b/Master/Daten- und Systemintegration/camelprototypeclient/.classpath
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/camelprototype"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/Master/Daten- und Systemintegration/camelprototypeclient/.project b/Master/Daten- und Systemintegration/camelprototypeclient/.project
new file mode 100644
index 0000000..b3e6d3e
--- /dev/null
+++ b/Master/Daten- und Systemintegration/camelprototypeclient/.project
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>camelprototypeclient</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ </natures>
+</projectDescription>
diff --git a/Master/Daten- und Systemintegration/camelprototypeclient/.settings/org.eclipse.jdt.core.prefs b/Master/Daten- und Systemintegration/camelprototypeclient/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000..32f8e41
--- /dev/null
+++ b/Master/Daten- und Systemintegration/camelprototypeclient/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,12 @@
+#Wed Dec 16 11:34:00 CET 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
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();
+ }
+ }
+
+}