2.17.2: 2011-06-17

net.sf.basedb.clients.web.fileupload
Class FileUpload.UploadStatus

java.lang.Object
  extended by 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
private  boolean atBoundary
          TRUE if the FileUpload.checkBoundary(byte[], int, byte[], int) method finds that the line matches the boundary, FALSE otherwise.
private  boolean atLastBoundary
          TRUE if the FileUpload.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
private FileUpload.UploadStatus()
          Create a new UploadStatus object.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

eof

private boolean eof
TRUE if the end of the stream is reached, FALSE otherwise


atBoundary

private boolean atBoundary
TRUE if the FileUpload.checkBoundary(byte[], int, byte[], int) method finds that the line matches the boundary, FALSE otherwise.


atLastBoundary

private boolean atLastBoundary
TRUE if the FileUpload.checkBoundary(byte[], int, byte[], int) method finds that the line matches the boundary + two extra dashes (--), FALSE otherwise.

Constructor Detail

FileUpload.UploadStatus

private FileUpload.UploadStatus()
Create a new UploadStatus object.


2.17.2: 2011-06-17