diff src/java/de/intevation/mxd/Converter.java @ 260:10e0aa283217

Updated documentation and added ant task for javadoc generation.
author raimund renkert <raimund.renkert@intevation.de>
date Tue, 16 Aug 2011 14:32:06 +0200
parents 5c80058c08f6
children dbfcb0b69a63
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/Converter.java	Tue Aug 16 13:09:57 2011 +0200
+++ b/src/java/de/intevation/mxd/Converter.java	Tue Aug 16 14:32:06 2011 +0200
@@ -147,6 +147,14 @@
         }
     }
 
+
+    /**
+     * Reads a property value from the converter.properties file.
+     *
+     * @param key The property key.
+     *
+     * @return The value.
+     */
     private static String readProperty (String key)
     throws Exception {
         Properties properties = new Properties();
@@ -158,6 +166,8 @@
         stream.close();
         return properties.getProperty(key);
     }
+
+
     /**
      * Trys to load the Log4j configuration
      * from ${config.dir}/log4j.properties.
@@ -176,6 +186,9 @@
     }
 
 
+    /**
+     * Print out usage informations.
+     */
     private static void printUsage() {
         System.out.println("Available parameters:[{-m,--mxd} path/to/mxd]\n" +
                            "\t\t[{-a,--map} path/to/mapfile]\n" +
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)