package com.novoda.downloadmanager;

public interface BatchFileBuilder {
    BatchFileBuilder withIdentifier(DownloadFileId downloadFileId);

    BatchFileBuilder saveTo(String path);

    BatchFileBuilder saveTo(String path, String fileName);

    BatchBuilder apply();
}

@@ -34,215 +34,1466 @@
 r;%0A%0A
-public interface BatchFileBuilder %7B%0A    BatchFileBuilder withIdentifier(DownloadFileId downloadFileId);%0A%0A    BatchFileBuilder saveTo(String path);%0A%0A    BatchFileBuilder saveTo(String path, String fileName);%0A
+/**%0A * Adds %7B@link BatchFile%7D to the parent %7B@link Batch%7D using the %7B@link BatchBuilder%7D%0A * and %7B@link BatchFileBuilder%7D fluent APIs.%0A */%0Apublic interface BatchFileBuilder %7B%0A%0A    /**%0A     * Sets %7B@link BatchFileBuilder%7D to build a %7B@link BatchFile%7D with a corresponding%0A     * %7B@param downloadFileId%7D that can be used to lookup a download file belonging to%0A     * a given %7B@link Batch%7D.%0A     *%0A     * @param downloadFileId to flag a %7B@link BatchFile%7D with.%0A     * @return %7B@link BatchFileBuilder%7D.%0A     */%0A    BatchFileBuilder withIdentifier(DownloadFileId downloadFileId);%0A%0A    /**%0A     * Sets %7B@link BatchFileBuilder%7D to build a %7B@link BatchFile%7D that will be saved%0A     * to the given %7B@param path%7D.%0A     *%0A     * @param path to save file to.%0A     * @return %7B@link BatchFileBuilder%7D.%0A     */%0A    BatchFileBuilder saveTo(String path);%0A%0A    /**%0A     * Sets %7B@link BatchFileBuilder%7D to build a %7B@link BatchFile%7D that will be saved%0A     * to the given %7B@param path%7D along with the given %7B@param filename%7D.%0A     *%0A     * @param path     to save the file to.%0A     * @param fileName of the file to save.%0A     * @return %7B@link BatchFileBuilder%7D.%0A     */%0A    BatchFileBuilder saveTo(String path, String fileName);%0A%0A    /**%0A     * Creates a %7B@link BatchFile%7D from the %7B@link BatchFileBuilder%7D and%0A     * adds it to the parent %7B@link BatchBuilder%7D before returning to%0A     * continue the fluent API.%0A     *%0A     * @return an instance of %7B@link BatchBuilder%7D.%0A     */
 %0A   

Add javadoc for BatchFileBuilder.