comparison artifacts/src/main/java/org/dive4elements/river/exports/AbstractExporter.java @ 8928:791714b92b5c

Basically implemented SINFO-Tkh Exports
author gernotbelger
date Thu, 01 Mar 2018 18:49:34 +0100
parents 5b5bdce5a216
children 93ea282c33e8
comparison
equal deleted inserted replaced
8927:04ad2cfce559 8928:791714b92b5c
305 } 305 }
306 306
307 protected String msg(final String key, final String def, final Object args) { 307 protected String msg(final String key, final String def, final Object args) {
308 return Resources.getMsg(context.getMeta(), key, def, args); 308 return Resources.getMsg(context.getMeta(), key, def, args);
309 } 309 }
310 310
311 /**
312 * Formats header with unit: msg [unit]
313 */
314 protected final String msgUnit(final String key, final String unit) {
315 final String msg = msg(key);
316 return String.format("%s [%s]", msg, unit);
317 }
311 318
312 /** 319 /**
313 * This method starts CSV creation. It makes use of writeCSVData() which has 320 * This method starts CSV creation. It makes use of writeCSVData() which has
314 * to be implemented by concrete subclasses. 321 * to be implemented by concrete subclasses.
315 */ 322 */

http://dive4elements.wald.intevation.org