Mercurial > dive4elements > river
changeset 4791:fc571444da50
DA66Parser: Added doc, removed TODO, whitespace cosmetics.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 09 Jan 2013 09:19:15 +0100 |
parents | cd9540bd8040 |
children | 8b609ea08128 |
files | flys-backend/src/main/java/de/intevation/flys/importer/parsers/DA66Parser.java |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/DA66Parser.java Wed Jan 09 09:29:01 2013 +0100 +++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/DA66Parser.java Wed Jan 09 09:19:15 2013 +0100 @@ -201,9 +201,12 @@ } + /** + * Walk a directory tree, parse its *.da66 files and store the + * data found. + */ public void parseDA66s(File root, final Callback callback) { - // TODO use the removeExtension/guess description and date. FileTools.walkTree(root, new FileTools.FileVisitor() { @Override public boolean visit(File file) { @@ -252,6 +255,7 @@ } } + /** Apply the convention how to deal with numbers < -99.999 .*/ private String applyLetterConvention(String orig) { if (orig.endsWith("-")) {