Skip to content

Commit

Permalink
removing codes to fix javadoc problem and release it
Browse files Browse the repository at this point in the history
  • Loading branch information
Turini committed Sep 25, 2014
1 parent 1e5839c commit 2cd3269
Showing 1 changed file with 0 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,6 @@ public final class DownloadBuilder {
/**
* Creates an instance for build a {@link FileDownload}.<br>
*
* <code>
* Download download = DownloadBuilder.of(myFile)
* .withFileName("resume.txt") // optional, default is file.getName()
* .withContentType("text/plain") // optional, null will sent as octet/stream
* .downloadable() // optional, default is inline content
* .build();
* </code>
*
* @param file The input file.
* @throws NullPointerException If the {@code file} argument is {@code null}
*/
Expand All @@ -41,15 +33,6 @@ public static FileDownloadBuilder of(File file) {
/**
* Creates an instance for build a {@link InputStreamDownload}.<br>
*
* <code>
* Download download = DownloadBuilder.of(myInputStream)
* .withFileName("resume.txt") // optional
* .withContentType("text/plain") // optional, null will sent as octet/stream
* .downloadable() // optional, default is inline content
* .withSize(100L) // optional
* .build();
* </code>
*
* @param input The input InputStream to process.
* @throws NullPointerException If the {@code input} argument is {@code null}
*/
Expand All @@ -60,14 +43,6 @@ public static InputStreamDownloadBuilder of(InputStream input) {
/**
* Creates an instance for build a {@link ByteArrayDownload}.<br>
*
* <code>
* Download download = DownloadBuilder.of(myFile)
* .withFileName("resume.txt") // optional
* .withContentType("text/plain") // optional, null will sent as octet/stream
* .downloadable() // optional, default is inline content
* .build();
* </code>
*
* @param input The input byte array.
* @throws NullPointerException If the {@code input} argument is {@code null}
*/
Expand All @@ -78,13 +53,6 @@ public static ByteArrayDownloadBuilder of(byte[] input) {
/**
* Creates an instance for build a {@link ZipDownload}.<br>
*
* <code>
* List<Path> listOfFiles = [...];
* Download download = DownloadBuilder.of(listOfFiles)
* .withFileName("resume.zip")
* .build();
* </code>
*
* @param files List of input files
* @throws NullPointerException If the {@code input} argument is {@code null}
*/
Expand Down

0 comments on commit 2cd3269

Please sign in to comment.