comparison flys-backend/ChangeLog @ 1206:c7370734b872

Prevent parsing and storing PRF duplicates. flys-backend/trunk@2315 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 11 Jul 2011 09:31:52 +0000
parents 5f1506fc7636
children 7121a40671ff
comparison
equal deleted inserted replaced
1205:5f1506fc7636 1206:c7370734b872
1 2011-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2
3 * src/main/java/de/intevation/flys/utils/FileTools.java:
4 Added a class HashedFile to compare files by there length
5 and a message digest. Digest can be set with system property
6 "flys.backend.file.cmp.digest" and defaults to MD5. Useful to
7 detect file duplicates.
8
9 * src/main/java/de/intevation/flys/importer/PRFParser.java: Added
10 method prfAccept(File) to callback to check if a found PRF file
11 should be parsed. Useful to prevent parsing file duplicates.
12
13 * src/main/java/de/intevation/flys/importer/ImportRiver.java:
14 Use the HashedFile and the PRFParser.Callback to prevent
15 parsing of PRF duplicates.
16
1 2011-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> 17 2011-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2 18
3 * doc/schema/postgresql.sql: Misspelled sequence. 19 * doc/schema/postgresql.sql: Misspelled sequence.
4 To update existing databases: 20 To update existing databases:
5 21

http://dive4elements.wald.intevation.org