src/de/uhilger/httpserver/up/FileUploadIOException.java | ●●●●● patch | view | raw | blame | history | |
src/de/uhilger/httpserver/up/ItemSkippedException.java | ●●●●● patch | view | raw | blame | history | |
src/de/uhilger/httpserver/up/Streams.java | ●●●●● patch | view | raw | blame | history |
src/de/uhilger/httpserver/up/FileUploadIOException.java
@@ -22,8 +22,8 @@ * Der Lowlevel MultipartParser aus dem Projekt Apache Commons Fileupload * ohne Abhaengigkeiten zum Rest von Commons Fileupload und Commons IO. * * This exception is thrown for hiding an inner {@link FileUploadException} in * an {@link IOException}. * This exception is thrown for hiding an inner FileUploadException in * an IOException */ public class FileUploadIOException extends IOException { src/de/uhilger/httpserver/up/ItemSkippedException.java
@@ -23,10 +23,10 @@ * ohne Abhaengigkeiten zum Rest von Commons Fileupload und Commons IO. * * This exception is thrown, if an attempt is made to read data from the * {@link InputStream}, which has been returned by * {@link FileItemStream#openStream()}, after * {@link java.util.Iterator#hasNext()} has been invoked on the iterator, which * created the {@link FileItemStream}. * InputStream, which has been returned by * FileItemStream#openStream(), after * java.util.Iterator#hasNext() has been invoked on the iterator, which * created the FileItemStream. */ public class ItemSkippedException extends IOException { src/de/uhilger/httpserver/up/Streams.java
@@ -144,7 +144,7 @@ /** * This convenience method allows to read a * {@link org.apache.commons.fileupload.FileItemStream}'s * org.apache.commons.fileupload.FileItemStream's * content into a string. The platform's default character encoding * is used for converting bytes into characters. * @@ -161,7 +161,7 @@ /** * This convenience method allows to read a * {@link org.apache.commons.fileupload.FileItemStream}'s * org.apache.commons.fileupload.FileItemStream's * content into a string, using the given character encoding. * * @param inputStream The input stream to read. @@ -180,7 +180,7 @@ * Checks, whether the given file name is valid in the sense, * that it doesn't contain any NUL characters. If the file name * is valid, it will be returned without any modifications. Otherwise, * an {@link InvalidFileNameException} is raised. * an InvalidFileNameException is raised. * * @param fileName The file name to check * @return Unmodified file name, if valid.