changeset 4679:23392c25fc11

Doc.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 14 Dec 2012 10:41:42 +0100
parents 83838f87e98f
children e8381265871f
files flys-backend/src/main/java/de/intevation/flys/importer/parsers/LineParser.java
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/LineParser.java	Fri Dec 14 10:41:24 2012 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/LineParser.java	Fri Dec 14 10:41:42 2012 +0100
@@ -18,8 +18,14 @@
 import org.apache.log4j.Logger;
 
 
+/**
+ * Base-Class for prasers for line-based file formats.
+ * Calls reset(), then read line by line, calling handleLine() for each,
+ * then calls finish().
+ */
 public abstract class LineParser {
 
+    /** Private logger. */
     private static final Logger log = Logger.getLogger(LineParser.class);
 
     public static final String ENCODING = "ISO-8859-1";
@@ -39,7 +45,7 @@
 
     /**
      * This method reads each line of <i>file</i>. At the beginning,
-     * <i>reset()</i> is called; afterwars for each line <i>handleLine()</i> is
+     * <i>reset()</i> is called; afterwards for each line <i>handleLine()</i> is
      * called; at the end <i>finish</i> is called.
      *
      * @param file The file which should be parsed.

http://dive4elements.wald.intevation.org