summaryrefslogtreecommitdiffstats
path: root/src/de/fhswf/in/inf/java1/aufgabe9/WordCountTest.java
diff options
context:
space:
mode:
authorStefan Suhren <suhren.stefan@fh-swf.de>2014-11-30 19:48:00 +0100
committerStefan Suhren <suhren.stefan@fh-swf.de>2014-11-30 19:48:00 +0100
commit286b3fc8adab72327330b0d4562176e23353342f (patch)
treebd87714a80313abc5e659def021e39d6e196624b /src/de/fhswf/in/inf/java1/aufgabe9/WordCountTest.java
parentd37a0c8a1666f100221c3501f2fa66c710035b01 (diff)
downloadJava1-286b3fc8adab72327330b0d4562176e23353342f.tar.gz
Java1-286b3fc8adab72327330b0d4562176e23353342f.zip
Assignment No.9 implements classes.
Diffstat (limited to 'src/de/fhswf/in/inf/java1/aufgabe9/WordCountTest.java')
-rw-r--r--src/de/fhswf/in/inf/java1/aufgabe9/WordCountTest.java40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/de/fhswf/in/inf/java1/aufgabe9/WordCountTest.java b/src/de/fhswf/in/inf/java1/aufgabe9/WordCountTest.java
new file mode 100644
index 0000000..e024529
--- /dev/null
+++ b/src/de/fhswf/in/inf/java1/aufgabe9/WordCountTest.java
@@ -0,0 +1,40 @@
+/**
+ *
+ */
+package de.fhswf.in.inf.java1.aufgabe9;
+
+import java.io.File;
+
+/**
+ * Tests the WordCount class.
+ *
+ * @author $Author: $
+ * @version $Revision: $, $Date: $ UTC
+ */
+public final class WordCountTest
+{
+
+ /**
+ * Private constructor for utility class.
+ *
+ */
+ private WordCountTest()
+ {
+ }
+
+ /**
+ * Tests the WordCount class.
+ *
+ * @param args
+ * Command line arguments.
+ */
+ public static void main(String[] args)
+ {
+ File file = new File(
+ "/home/aentfs/workspace/Java1/misc/Blatt9TestFile2.txt");
+
+ System.out.println(new WordCount(file));
+
+ }
+
+}