Index: trunk/JavaHelperLib/src/de/ugoe/cs/util/ArrayTools.java
===================================================================
--- trunk/JavaHelperLib/src/de/ugoe/cs/util/ArrayTools.java	(revision 122)
+++ trunk/JavaHelperLib/src/de/ugoe/cs/util/ArrayTools.java	(revision 175)
@@ -1,27 +1,38 @@
 package de.ugoe.cs.util;
 
+/**
+ * <p>
+ * Helper class that provides methods to simplify working with arrays.
+ * </p>
+ * 
+ * @author Steffen Herbold
+ * @version 1.0
+ */
 final public class ArrayTools {
-	
+
 	/**
 	 * <p>
-	 * Finds the first occurence of an object inside an array.
+	 * Finds the first occurrence of an object inside an array.
 	 * </p>
 	 * <p>
-	 * In case {@code other==null}, the first occurence of a {@code null} value in the array is returned.
+	 * In case {@code other==null}, the first occurrence of a {@code null} value
+	 * in the array is returned.
 	 * </p>
-	 *  
-	 * @param array the array
-	 * @param other the object
+	 * 
+	 * @param array
+	 *            the array
+	 * @param other
+	 *            the object
 	 * @return index of the object if found, -1 otherwise
 	 */
 	public static int findIndex(Object[] array, Object other) {
 		int retVal = -1;
-		for( int i=0 ; i<array.length && retVal==-1 ; i++ ) {
-			if( other!=null ) {
-				if( array[i]!=null && array[i].equals(other) ) {
+		for (int i = 0; i < array.length && retVal == -1; i++) {
+			if (other != null) {
+				if (array[i] != null && array[i].equals(other)) {
 					retVal = i;
 				}
 			} else {
-				if( array[i]==null ) {
+				if (array[i] == null) {
 					retVal = i;
 				}
Index: trunk/JavaHelperLib/src/de/ugoe/cs/util/FileTools.java
===================================================================
--- trunk/JavaHelperLib/src/de/ugoe/cs/util/FileTools.java	(revision 122)
+++ trunk/JavaHelperLib/src/de/ugoe/cs/util/FileTools.java	(revision 175)
@@ -6,30 +6,52 @@
 import java.io.IOException;
 
+/**
+ * <p>
+ * Helper class that provides methods that simplify working with files.
+ * </p>
+ * 
+ * @author Steffen Herbold
+ * @version 1.0
+ */
 public class FileTools {
-	
+
 	/**
 	 * <p>
-	 * Returns an array of the lines contained in a file. The line seperator is "\r\n".
+	 * Returns an array of the lines contained in a file. The line separator is
+	 * "\r\n".
 	 * </p>
-	 * @param filename name of the file
+	 * 
+	 * @param filename
+	 *            name of the file
 	 * @return string array, where each line contains a file
-	 * @throws IOException see {@link FileReader#read(char[])}, {@link FileReader#close()} 
-	 * @throws FileNotFoundException see {@link FileReader#FileReader(File)}
+	 * @throws IOException
+	 *             see {@link FileReader#read(char[])},
+	 *             {@link FileReader#close()}
+	 * @throws FileNotFoundException
+	 *             see {@link FileReader#FileReader(File)}
 	 */
-	public static String[] getLinesFromFile(String filename) throws IOException, FileNotFoundException {
+	public static String[] getLinesFromFile(String filename)
+			throws IOException, FileNotFoundException {
 		return getLinesFromFile(filename, true);
 	}
-	
+
 	/**
 	 * <p>
 	 * Returns an array of the lines contained in a file.
 	 * </p>
-	 * @param filename name of the file
-	 * @param carriageReturn if true, "\r\n", if false "\n" is used as line seperator
+	 * 
+	 * @param filename
+	 *            name of the file
+	 * @param carriageReturn
+	 *            if true, "\r\n", if false "\n" is used as line separator
 	 * @return string array, where each line contains a file
-	 * @throws IOException see {@link FileReader#read(char[])}, {@link FileReader#close()} 
-	 * @throws FileNotFoundException see {@link FileReader#FileReader(File)}
+	 * @throws IOException
+	 *             see {@link FileReader#read(char[])},
+	 *             {@link FileReader#close()}
+	 * @throws FileNotFoundException
+	 *             see {@link FileReader#FileReader(File)}
 	 */
-	public static String[] getLinesFromFile(String filename, boolean carriageReturn) throws IOException, FileNotFoundException {
+	public static String[] getLinesFromFile(String filename,
+			boolean carriageReturn) throws IOException, FileNotFoundException {
 		File f = new File(filename);
 		FileReader reader = new FileReader(f);
@@ -38,5 +60,5 @@
 		reader.close();
 		String splitString;
-		if( carriageReturn ) {
+		if (carriageReturn) {
 			splitString = "\r\n";
 		} else {
Index: trunk/JavaHelperLib/src/de/ugoe/cs/util/StringTools.java
===================================================================
--- trunk/JavaHelperLib/src/de/ugoe/cs/util/StringTools.java	(revision 122)
+++ trunk/JavaHelperLib/src/de/ugoe/cs/util/StringTools.java	(revision 175)
@@ -1,18 +1,31 @@
 package de.ugoe.cs.util;
 
+/**
+ * <p>
+ * Helper class that provides methods to simplify working with {@link String}s.
+ * </p>
+ * 
+ * @author Steffen Herbold
+ * @version 1.0
+ */
 final public class StringTools {
 
-	public final static String ENDLINE = System.getProperty("line.separator");
-	
 	/**
 	 * <p>
-	 * Replaces all occurences of {@literal &, <, >, ', and "} with their
-	 * respective XML entites {@literal &amp;, &lt;, &gt;, &apos;, and &quot;}
+	 * Simplifies use of operation system specific line separators.
+	 * </p>
+	 */
+	public final static String ENDLINE = System.getProperty("line.separator");
+
+	/**
+	 * <p>
+	 * Replaces all occurrences of {@literal &, <, >, ', and "} with their
+	 * respective XML entities {@literal &amp;, &lt;, &gt;, &apos;, and &quot;}
 	 * without destroying already existing entities.
 	 * </p>
 	 * 
 	 * @param str
-	 *            String where the XML entites are to be replaced
-	 * @return new String, where the XML entites are used instead of the
+	 *            String where the XML entities are to be replaced
+	 * @return new String, where the XML entities are used instead of the
 	 *         literals
 	 */
Index: trunk/JavaHelperLib/src/de/ugoe/cs/util/console/Command.java
===================================================================
--- trunk/JavaHelperLib/src/de/ugoe/cs/util/console/Command.java	(revision 122)
+++ trunk/JavaHelperLib/src/de/ugoe/cs/util/console/Command.java	(revision 175)
@@ -11,4 +11,5 @@
  * 
  * @author Steffen Herbold
+ * @version 1.0
  */
 public interface Command {
Index: trunk/JavaHelperLib/src/de/ugoe/cs/util/console/CommandExecuter.java
===================================================================
--- trunk/JavaHelperLib/src/de/ugoe/cs/util/console/CommandExecuter.java	(revision 122)
+++ trunk/JavaHelperLib/src/de/ugoe/cs/util/console/CommandExecuter.java	(revision 175)
@@ -4,5 +4,4 @@
 import java.util.ArrayList;
 import java.util.List;
-
 
 /**
@@ -14,8 +13,9 @@
  * </p>
  * <p>
- * This class is implemented as a <i>Singleton</i>. 
+ * This class is implemented as a <i>Singleton</i>.
  * </p>
  * 
  * @author Steffen Herbold
+ * @version 1.0
  */
 public class CommandExecuter {
@@ -34,5 +34,5 @@
 	 */
 	private static final String cmdPrefix = "CMD";
-	
+
 	/**
 	 * <p>
@@ -48,6 +48,6 @@
 	 * </p>
 	 * <p>
-	 * The defaultcommands package has always lowest priority, unless it is
-	 * specificially added.
+	 * The de.ugoe.cs.util.console.defaultcommands package has always lowest
+	 * priority, unless it is specifically added.
 	 * </p>
 	 */
@@ -78,5 +78,6 @@
 	/**
 	 * <p>
-	 * Adds a package that will be used by exec to load command from.
+	 * Adds a package that will be used by {@link #exec(String)} to load command
+	 * from.
 	 * </p>
 	 * 
@@ -111,8 +112,10 @@
 		parser.parse(command);
 		for (int i = 0; cmd == null && i < commandPackageList.size(); i++) {
-			cmd = loadCMD(commandPackageList.get(i)+"."+cmdPrefix+parser.getCommandName());
+			cmd = loadCMD(commandPackageList.get(i) + "." + cmdPrefix
+					+ parser.getCommandName());
 		}
 		if (cmd == null) { // check if command is available as default command
-			cmd = loadCMD(defaultPackage+"."+cmdPrefix+parser.getCommandName());
+			cmd = loadCMD(defaultPackage + "." + cmdPrefix
+					+ parser.getCommandName());
 		}
 		if (cmd == null) {
@@ -128,8 +131,12 @@
 
 	/**
+	 * <p>
 	 * Helper method that loads a class and tries to cast it to {@link Command}.
+	 * </p>
 	 * 
-	 * @param className qualified name of the class (including package name)
-	 * @return if class is available and implement {@link Command} and instance of the class, null otherwise
+	 * @param className
+	 *            qualified name of the class (including package name)
+	 * @return if class is available and implement {@link Command} and instance
+	 *         of the class, null otherwise
 	 */
 	private Command loadCMD(String className) {
@@ -140,5 +147,6 @@
 		} catch (NoClassDefFoundError e) {
 			String[] splitResult = e.getMessage().split("CMD");
-			String correctName = splitResult[splitResult.length-1].replace(")", "");
+			String correctName = splitResult[splitResult.length - 1].replace(
+					")", "");
 			Console.traceln("Did you mean " + correctName + "?");
 		} catch (ClassNotFoundException e) {
Index: trunk/JavaHelperLib/src/de/ugoe/cs/util/console/CommandParser.java
===================================================================
--- trunk/JavaHelperLib/src/de/ugoe/cs/util/console/CommandParser.java	(revision 122)
+++ trunk/JavaHelperLib/src/de/ugoe/cs/util/console/CommandParser.java	(revision 175)
@@ -10,4 +10,5 @@
  * 
  * @author Steffen Herbold
+ * @version 1.0
  */
 public class CommandParser {
Index: trunk/JavaHelperLib/src/de/ugoe/cs/util/console/Console.java
===================================================================
--- trunk/JavaHelperLib/src/de/ugoe/cs/util/console/Console.java	(revision 122)
+++ trunk/JavaHelperLib/src/de/ugoe/cs/util/console/Console.java	(revision 175)
@@ -5,5 +5,4 @@
 
 import de.ugoe.cs.util.StringTools;
-
 
 /**
@@ -23,4 +22,5 @@
  * 
  * @author Steffen Herbold
+ * @version 1.0
  */
 public final class Console {
@@ -120,6 +120,5 @@
 		}
 		for (ConsoleObserver observer : theInstance.observers) {
-			observer.updateText(msg
-					+ StringTools.ENDLINE);
+			observer.updateText(msg + StringTools.ENDLINE);
 		}
 	}
@@ -157,6 +156,5 @@
 		}
 		for (ConsoleObserver observer : theInstance.observers) {
-			observer.errStream(errMsg
-					+ StringTools.ENDLINE);
+			observer.errStream(errMsg + StringTools.ENDLINE);
 		}
 	}
@@ -200,5 +198,6 @@
 	 * <p>
 	 * Sends a debug message to all observers containing the message that was
-	 * passed to this function and adds an endline to the message.
+	 * passed to this function and adds an {@link StringTools#ENDLINE} to the
+	 * message.
 	 * </p>
 	 * 
@@ -211,6 +210,5 @@
 		}
 		for (ConsoleObserver observer : theInstance.observers) {
-			observer.trace(traceMsg
-					+ StringTools.ENDLINE);
+			observer.trace(traceMsg + StringTools.ENDLINE);
 		}
 	}
Index: trunk/JavaHelperLib/src/de/ugoe/cs/util/console/ConsoleObserver.java
===================================================================
--- trunk/JavaHelperLib/src/de/ugoe/cs/util/console/ConsoleObserver.java	(revision 122)
+++ trunk/JavaHelperLib/src/de/ugoe/cs/util/console/ConsoleObserver.java	(revision 175)
@@ -7,4 +7,5 @@
  * 
  * @author Steffen Herbold
+ * @version 1.0
  */
 public interface ConsoleObserver {
Index: trunk/JavaHelperLib/src/de/ugoe/cs/util/console/TextConsole.java
===================================================================
--- trunk/JavaHelperLib/src/de/ugoe/cs/util/console/TextConsole.java	(revision 122)
+++ trunk/JavaHelperLib/src/de/ugoe/cs/util/console/TextConsole.java	(revision 175)
@@ -6,9 +6,9 @@
  * <p>
  * Implements a simple console observer that prints normal text to
- * <code>stdout</code>, errors to <code>stderr</code> and reads from
- * <code>stdin</code>.
+ * {@code stdout}, errors to {@code stderr} and reads from {@code stdin}.
  * </p>
  * 
  * @author Steffen Herbold
+ * @version 1.0
  */
 public class TextConsole implements ConsoleObserver {
@@ -32,5 +32,5 @@
 	/**
 	 * <p>
-	 * Prints messages to <code>stdout</code>.
+	 * Prints messages to {@code stdout}.
 	 * </p>
 	 * 
@@ -43,5 +43,5 @@
 	/**
 	 * <p>
-	 * Prints messages to <code>stderr</code>.
+	 * Prints messages to {@code stderr}.
 	 * </p>
 	 * 
@@ -55,5 +55,5 @@
 	/**
 	 * <p>
-	 * Prints the stackrace of an exception to <code>stderr</code>
+	 * Prints the stacktrace of an exception to {@code stderr}.
 	 * </p>
 	 * 
@@ -67,6 +67,6 @@
 	/**
 	 * <p>
-	 * Prints messages to <code>stdout</code>. These messages are only printed,
-	 * if the console is run in debug mode.
+	 * Prints messages to {@code stdout}. These messages are only printed, if
+	 * the console is run in debug mode.
 	 * </p>
 	 */
@@ -82,5 +82,5 @@
 	 * Starts a new TextConsole. If the text console is started, it can be used
 	 * not only to print message, but also to execute commands by reading
-	 * <code>stdin</code>.
+	 * {@code stdin}.
 	 * </p>
 	 * 
@@ -103,5 +103,5 @@
 	/**
 	 * <p>
-	 * Reads a new command from <code>stdin</code>.
+	 * Reads a new command from {@code stdin}.
 	 * </p>
 	 * 
Index: trunk/JavaHelperLib/src/de/ugoe/cs/util/console/defaultcommands/CMDexec.java
===================================================================
--- trunk/JavaHelperLib/src/de/ugoe/cs/util/console/defaultcommands/CMDexec.java	(revision 122)
+++ trunk/JavaHelperLib/src/de/ugoe/cs/util/console/defaultcommands/CMDexec.java	(revision 175)
@@ -14,22 +14,17 @@
 /**
  * <p>
- * Implements a command to execute batchs of {@link Command}s, defined by batch
- * file, to allow scripted executions.
+ * Command to execute a batch of {@link Command}s. The batch is defined as a
+ * text file, where each line defines one command.
  * </p>
  * 
  * @author Steffen Herbold
+ * @version 1.0
  */
 public class CMDexec implements Command {
 
-	/**
-	 * <p>
-	 * Executes a batch of {@link Command}s that are listed line by line in the
-	 * given file.
-	 * </p>
-	 * <p>
-	 * Usage: <code>exec filename</code>
-	 * </p>
+	/*
+	 * (non-Javadoc)
 	 * 
-	 * @see de.ugoe.cs.util.console.commands.Command#run(java.util.List)
+	 * @see de.ugoe.cs.util.console.Command#run(java.util.List)
 	 */
 	public void run(List<Object> parameters) {
Index: trunk/JavaHelperLib/src/de/ugoe/cs/util/console/defaultcommands/CMDexit.java
===================================================================
--- trunk/JavaHelperLib/src/de/ugoe/cs/util/console/defaultcommands/CMDexit.java	(revision 122)
+++ trunk/JavaHelperLib/src/de/ugoe/cs/util/console/defaultcommands/CMDexit.java	(revision 175)
@@ -8,13 +8,15 @@
 /**
  * <p>
- * Implements a command to terminate an application.
+ * Command to terminate an application.
  * </p>
  * 
  * @author Steffen Herbold
- *
+ * @version 1.0
  */
 public class CMDexit implements Command {
 
-	/* (non-Javadoc)
+	/*
+	 * (non-Javadoc)
+	 * 
 	 * @see databasebuilder.console.commands.Command#help()
 	 */
@@ -23,12 +25,9 @@
 		Console.println("Usage: exit");
 	}
-	
-	/**
-	 * <p>
-	 * Terminates the programm.
-	 * </p>
-	 * <p>
-	 * Usage: <code>exit</code>
-	 * </p>
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see de.ugoe.cs.util.console.Command#run(java.util.List)
 	 */
 	@Override
