comparison artifacts/src/main/java/org/dive4elements/river/exports/WstWriter.java @ 8202:e4606eae8ea5

sed src/**/*.java 's/logger/log/g'
author Sascha L. Teichmann <teichmann@intevation.de>
date Fri, 05 Sep 2014 12:58:17 +0200
parents 7c89a545617a
children 4a6cc7c6716a 0a5239a1e46e
comparison
equal deleted inserted replaced
8201:4b8c5a08de04 8202:e4606eae8ea5
43 * 43 *
44 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> 44 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
45 */ 45 */
46 public class WstWriter { 46 public class WstWriter {
47 47
48 /** The logger used in this class. */ 48 /** The log used in this class. */
49 private static Logger logger = Logger.getLogger(WstWriter.class); 49 private static Logger log = Logger.getLogger(WstWriter.class);
50 50
51 /** The default unit that is written into the header of the WST. */ 51 /** The default unit that is written into the header of the WST. */
52 public static final String DEFAULT_UNIT = "Wassserstand [NN + m]"; 52 public static final String DEFAULT_UNIT = "Wassserstand [NN + m]";
53 53
54 /** The lines that need to be included for the export. */ 54 /** The lines that need to be included for the export. */
99 * This method is used to create the WST from the data that has been 99 * This method is used to create the WST from the data that has been
100 * inserted using add(double[]) before. 100 * inserted using add(double[]) before.
101 * @param out Where to write to. 101 * @param out Where to write to.
102 */ 102 */
103 public void write(OutputStream out) { 103 public void write(OutputStream out) {
104 logger.info("WstWriter.write"); 104 log.info("WstWriter.write");
105 105
106 PrintWriter writer = new PrintWriter( 106 PrintWriter writer = new PrintWriter(
107 new BufferedWriter( 107 new BufferedWriter(
108 new OutputStreamWriter(out))); 108 new OutputStreamWriter(out)));
109 109
179 * This method writes the header of the WST. 179 * This method writes the header of the WST.
180 * 180 *
181 * @param writer The PrintWriter that creates the output. 181 * @param writer The PrintWriter that creates the output.
182 */ 182 */
183 protected void writeHeader(PrintWriter writer) { 183 protected void writeHeader(PrintWriter writer) {
184 logger.debug("WstWriter.writeHeader"); 184 log.debug("WstWriter.writeHeader");
185 185
186 writer.println(cols); 186 writer.println(cols);
187 187
188 writer.print("*!column-bez-text "); 188 writer.print("*!column-bez-text ");
189 189

http://dive4elements.wald.intevation.org