Class FileUpload.UploadStatus
- java.lang.Object
-
- net.sf.basedb.clients.web.fileupload.FileUpload.UploadStatus
-
- Enclosing class:
- FileUpload
private static class FileUpload.UploadStatus extends Object
This class contains information about the read status on the ServletInputStream
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
atBoundary
TRUE if theFileUpload.checkBoundary(byte[], int, byte[], int)
method finds that the line matches the boundary, FALSE otherwise.private boolean
atLastBoundary
TRUE if theFileUpload.checkBoundary(byte[], int, byte[], int)
method finds that the line matches the boundary + two extra dashes (--), FALSE otherwise.private boolean
eof
TRUE if the end of the stream is reached, FALSE otherwise
-
Constructor Summary
Constructors Modifier Constructor Description private
UploadStatus()
Create a newUploadStatus
object.
-
-
-
Field Detail
-
eof
private boolean eof
TRUE if the end of the stream is reached, FALSE otherwise
-
atBoundary
private boolean atBoundary
TRUE if theFileUpload.checkBoundary(byte[], int, byte[], int)
method finds that the line matches the boundary, FALSE otherwise.
-
atLastBoundary
private boolean atLastBoundary
TRUE if theFileUpload.checkBoundary(byte[], int, byte[], int)
method finds that the line matches the boundary + two extra dashes (--), FALSE otherwise.
-
-