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