wjhk.jupload2.upload
Class UploadFileDataPoisonned

java.lang.Object
  extended by wjhk.jupload2.upload.UploadFileData
      extended by wjhk.jupload2.upload.UploadFileDataPoisonned
All Implemented Interfaces:
FileData

public class UploadFileDataPoisonned
extends UploadFileData

This class is a kind of 'End of Queue' object. It is posted by the FilePreparationThread on the preparedFileQueue, to indicate to the PacketConstructionThread that the last file was sent.

Author:
etienne_sf

Field Summary
 
Fields inherited from class wjhk.jupload2.upload.UploadFileData
numOfFileInCurrentRequest
 
Constructor Summary
UploadFileDataPoisonned()
           
 
Method Summary
 boolean isPoisonned()
           
 
Methods inherited from class wjhk.jupload2.upload.UploadFileData
afterUpload, appendFileProperties, beforeUpload, canRead, getDirectory, getFile, getFileExtension, getFileLength, getFileName, getInputStream, getLastModified, getMD5, getMimeType, getNumOfFileInCurrentRequest, getRelativeDir, getRemainingLength, getUploadFilename, getUploadLength, getUploadName, isPreparedForUpload, uploadFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UploadFileDataPoisonned

UploadFileDataPoisonned()
Method Detail

isPoisonned

public final boolean isPoisonned()
Overrides:
isPoisonned in class UploadFileData
Returns:
the poisonned status. Returns always true, as this class is only used to indicate the 'End Of Queue' marker in the preparedFileQueue.
See Also:
UploadFileData