Index: /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/connector/Connector.java
===================================================================
--- /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/connector/Connector.java	(revision 3590)
+++ /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/connector/Connector.java	(revision 3591)
@@ -69,6 +69,6 @@
 
 	/**
-	 * Initializes this connector. This method will be called at the
-	 * {@link ConnectorServlet#init() init} of the connector servlet.
+	 * Initializes this connector. Called at {@link Dispatcher dispatcher}
+	 * initialization.
 	 * 
 	 * @param servletContext
@@ -76,6 +76,6 @@
 	 *            executing
 	 * @throws Exception
-	 *             if an exception occurs that interrupts the connector's
-	 *             normal operation
+	 *             if an exception occurs that interrupts the connector's normal
+	 *             operation
 	 */
 	public void init(final ServletContext servletContext) throws Exception;
Index: /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/connector/Dispatcher.java
===================================================================
--- /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/connector/Dispatcher.java	(revision 3590)
+++ /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/connector/Dispatcher.java	(revision 3591)
@@ -72,6 +72,7 @@
 	/**
 	 * Initializes this dispatcher. It initializes the connector internally.
-	 * 
-	 * @see ConnectorServlet#init()
+	 * Called at connector servlet {@link ConnectorServlet#init()
+	 * initialization}.
+	 * 
 	 * @param servletContext
 	 *            reference to the {@link ServletContext} in which the caller is
Index: /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/connector/impl/AbstractLocalFileSystemConnector.java
===================================================================
--- /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/connector/impl/AbstractLocalFileSystemConnector.java	(revision 3590)
+++ /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/connector/impl/AbstractLocalFileSystemConnector.java	(revision 3591)
@@ -50,10 +50,12 @@
 
 /**
- * This class provides an abstract implementation of the {@link Connector}
- * interface with the default behavior according to the <a href="http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Server_Side_Integration"
- * target="_blank">documentation</a>. It serves files and folders against a
- * specific local directory. You cannot use this class directly, instead you
- * have to subclass it and implement the interface/abstract methods. There are
- * two ready to go subclasses, see above.
+ * Abstract local filesystem backend connector. This class is the default
+ * implementation of the <a href="http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Server_Side_Integration"
+ * target="_blank">official connector specification</a>.
+ * <p>
+ * It serves files and folders against a specific local directory which is
+ * resolved in a subclass. You cannot use this class directly, instead you have
+ * to subclass it and implement the abstract methods and override methods if
+ * necessary.
  * 
  * @version $Id$
@@ -141,27 +143,28 @@
 
 	/**
-	 * This method shall resolve the
-	 * {@link UserPathBuilder#getUserFilesAbsolutePath(javax.servlet.http.HttpServletRequest)
-	 * UserFilesAbsolutePath} against a specific system. E.g., local filesystem
-	 * or context filesystem. It's up to you what it returns but make sure that
-	 * it's consistent inside the entire cycle.
+	 * Resolves a provided userfiles absolute path against a specific backend.
+	 * The is no restriction how to resolve the path. To keep it simple, you may
+	 * use
+	 * {@link UserPathBuilder#getUserFilesAbsolutePath(javax.servlet.http.HttpServletRequest) UserPathBuilder.getUserFilesAbsolutePath}.
+	 * The return value has to be consistent within the entire request cycle.
 	 * 
-	 * @param path
-	 *            The path to resolve.
-	 * @return The resolved path.
+	 * @param userFilesAbsolutePath
+	 *            the userfiles absolute path to resolve against a specific
+	 *            backend
+	 * @return the resolved userfiles absolute path
 	 */
-	protected abstract String getRealUserFilesAbsolutePath(String path);
+	protected abstract String getRealUserFilesAbsolutePath(String userFilesAbsolutePath);
 
 	/**
-	 * This method simply checks if the the resource type dir exists and creates
-	 * it if necessary.
+	 * Returns a file reference to a created resource type directory. The
+	 * directory will be created only if it does not exist.
 	 * 
 	 * @param baseDir
-	 *            BaseDir for the resource type.
+	 *            the current resource type's base directory
 	 * @param type
-	 *            Resource type to mkdir.
-	 * @return The file object of the resource type.
+	 *            the current resource type
+	 * @return a file reference the resource type directory
 	 */
-	private static File getOrCreateResourceTypeDir(final String baseDir,
+	protected static File getOrCreateResourceTypeDir(final String baseDir,
 			final ResourceType type) {
 		File dir = new File(baseDir, type.getPath());
Index: /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/connector/impl/ContextConnector.java
===================================================================
--- /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/connector/impl/ContextConnector.java	(revision 3590)
+++ /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/connector/impl/ContextConnector.java	(revision 3591)
@@ -30,13 +30,15 @@
 
 /**
- * This implementation represents a specific restriction against the local
- * filesystem. It resolves any path against the current servlet context.
+ * Context filesystem backend connector. The file access will be restricted to
+ * the real context root of the currently deployed webapp.
  * <p>
  * Though, this connector has some drawbacks:
  * <ul>
- * <li>Stored files will be gone if context will be undeployed, unless you have
- * saved them before.</li>
- * <li>Some servers are unable to write to the context path, see
- * {@link #init(ServletContext)}.</li>
+ * <li>Stored files and folders will be gone if the context is undeployed,
+ * unless you have saved them before.</li>
+ * <li>Some servers are unable to write to the real context root (like
+ * WebSphere), see {@link #init(ServletContext)} for more details.</li>
+ * <li>Some containers (like Jetty) unpack the war file to a different directory
+ * at server start which means that files are gone in temp.</li>
  * </ul>
  * </p>
@@ -46,7 +48,9 @@
  */
 public class ContextConnector extends AbstractLocalFileSystemConnector {
+	
 	private final Logger logger = LoggerFactory.getLogger(ContextConnector.class);
 
 	/**
+	 * {@inheritDoc}
 	 * This method will prepare the connector for further usage, additionally it
 	 * will check if the aforementioned drawback exists. It will try to resolve
@@ -57,6 +61,4 @@
 	 * local filesystem (real path). If it fails, it will emit helpful log
 	 * messages and will throw an exception too.
-	 * 
-	 * @see net.fckeditor.connector.Connector#init()
 	 */
 	public void init(final ServletContext servletContext) throws Exception {
@@ -70,15 +72,15 @@
 			logger.debug("Use another Connector implementation (e.g. LocalConnector) and consult http://www.fckeditor.net/forums/viewtopic.php?f=6&t=11568");
 			throw new NullPointerException(
-					"The context root cannot be resolved against the local filesystem");
+					"The real context root cannot be resolved against the local filesystem");
 		}
 	}
 
 	/**
-	 * Returns the given path resolved against the dynamic context and the real
-	 * filesystem.
+	 * Resolves the userfiles absolute path against the current context real
+	 * path.
 	 */
 	@Override
-	protected String getRealUserFilesAbsolutePath(String path) {
-		return servletContext.getRealPath(path);
+	protected String getRealUserFilesAbsolutePath(String userFilesAbsolutePath) {
+		return servletContext.getRealPath(userFilesAbsolutePath);
 	}
 
Index: /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/connector/impl/LocalConnector.java
===================================================================
--- /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/connector/impl/LocalConnector.java	(revision 3590)
+++ /FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/connector/impl/LocalConnector.java	(revision 3591)
@@ -26,16 +26,14 @@
 
 /**
- * This is a very shallow and simple implementation. It assigns/returns the
- * least amount of variables to work with the direct local filesystem.<br />
- * You may call this implementation and identity implementation:
- * <code>f(x)=x</code>.
+ * Real local filesystem backend connector. The file access is translated as-is
+ * to the local filesystem.
  * <p>
- * This maybe interesting for those who
+ * This maybe interesting for those who serve userfiles
  * <ul>
- * <li>serve userfiles from a static context of a servlet container/application
+ * <li>from a static context of a servlet container/application
  * server,</li>
- * <li>serve userfiles from virtual servers with Apache HTTPd on different
+ * <li>from virtual servers with Apache HTTPd on different
  * domains, e.g. <code>http://userfiles.mydomain.com</code>, or</li>
- * <li>serve userfiles on a per-user basis, e.g. uploading to
+ * <li>on a per-user basis, e.g. uploading to
  * <code>/home/$USERNAME/public_html/fckeditor</code> and an Apache HTTPd serves
  * as <code>/~$USERNAME/fckeditor</code>.</li>
@@ -49,6 +47,5 @@
 
 	/**
-	 * This method simply assigns the servlet context to the underlying instance
-	 * field.
+	 * {@inheritDoc} Assigns only the {@code servletContext}.
 	 */
 	public void init(final ServletContext servletContext) throws Exception {
@@ -57,9 +54,9 @@
 
 	/**
-	 * This is an identity implementation, it passes the path as-is.
+	 * Returns the passed parameter as-is.
 	 */
 	@Override
-	protected String getRealUserFilesAbsolutePath(String path) {
-		return path;
+	protected String getRealUserFilesAbsolutePath(String userFilesAbsolutePath) {
+		return userFilesAbsolutePath;
 	}
 
