Uses of Class
wjhk.jupload2.upload.UploadFileData

Packages that use UploadFileData
wjhk.jupload2.upload This package contains the code that actually executes the upload (see below for a full description of the way the upload is executed in the JUpload code). 
 

Uses of UploadFileData in wjhk.jupload2.upload
 

Subclasses of UploadFileData in wjhk.jupload2.upload
 class UploadFileDataPoisonned
          This class is a kind of 'End of Queue' object.
 

Fields in wjhk.jupload2.upload declared as UploadFileData
(package private)  UploadFileData FileUploadManagerThreadImpl.fileBeingUploaded
          The file that is currently being uploaded.
 

Fields in wjhk.jupload2.upload with type parameters of type UploadFileData
(package private)  BlockingQueue<UploadFileData> PacketConstructionThread.preparedFileQueue
          The queue where each prepared file are stored, for further processing.
(package private)  BlockingQueue<UploadFileData> FilePreparationThread.preparedFileQueue
          The queue where each prepared file will be stored, for further processing
 

Methods in wjhk.jupload2.upload that return UploadFileData
 UploadFileData UploadFilePacket.remove(int index)
          Prohibited !
 

Methods in wjhk.jupload2.upload with parameters of type UploadFileData
 boolean UploadFilePacket.add(UploadFileData uploadFileData)
           
(package private)  void FileUploadThreadHTTP.afterFile(UploadFileData uploadFileData)
           
(package private)  void FileUploadThreadFTP.afterFile(UploadFileData uploadFileData)
           
(package private) abstract  void DefaultFileUploadThread.afterFile(UploadFileData uploadFileData)
          Idem as DefaultFileUploadThread.beforeFile(UploadFilePacket, UploadFileData), but is called after each file (and each chunks for each file).
 void FileUploadManagerThreadImpl.anotherFileHasBeenSent(UploadFilePacket uploadFilePacket, UploadFileData newlyUploadedFileData)
           
 void FileUploadManagerThread.anotherFileHasBeenSent(UploadFilePacket uploadFilePacket, UploadFileData newlyUploadedFileData)
          This method is called each time a new file is sent to the server.
(package private)  void FileUploadThreadHTTP.beforeFile(UploadFilePacket uploadFilePacket, UploadFileData uploadFileData)
           
(package private)  void FileUploadThreadFTP.beforeFile(UploadFilePacket uploadFilePacket, UploadFileData uploadFileData)
           
(package private) abstract  void DefaultFileUploadThread.beforeFile(UploadFilePacket uploadFilePacket, UploadFileData uploadFileData)
          This method is called before sending the bytes corresponding to the file whose index is given in argument.
 boolean UploadFilePacket.canAdd(UploadFileData uploadFileData)
          Checks if this packet can accept this file, according to the current UploadPolicy.
(package private)  long FileUploadThreadHTTP.getAdditionnalBytesForUpload(UploadFileData uploadFileData)
           
(package private)  long FileUploadThreadFTP.getAdditionnalBytesForUpload(UploadFileData uploadFileData)
           
(package private) abstract  long DefaultFileUploadThread.getAdditionnalBytesForUpload(UploadFileData uploadFileData)
          This method is called before the upload.
 void FileUploadManagerThreadImpl.nbBytesUploaded(long nbBytes, UploadFileData uploadFileData)
          The progressBar is updated each 50ms and each 10% of the target file.
 void FileUploadManagerThread.nbBytesUploaded(long nbBytes, UploadFileData uploadFileData)
          Used by the UploadFileData#uploadFile(java.io.OutputStream, long) for each uploaded buffer
 void FileUploadManagerThreadImpl.setUploadStatus(UploadFilePacket uploadFilePacket, UploadFileData uploadFileData, int uploadStatus)
           
 void FileUploadManagerThread.setUploadStatus(UploadFilePacket uploadFilePacket, UploadFileData uploadFileData, int uploadStatus)
          Indicate the current state of the upload, to allow a correct display of UPLOAD_STATUS_UPLOADED status. the upload progress bar.
 

Constructor parameters in wjhk.jupload2.upload with type arguments of type UploadFileData
FilePreparationThread(BlockingQueue<UploadFileData> preparedFileQueue, FileUploadManagerThread fileUploadManagerThread, UploadPolicy uploadPolicy)
           
PacketConstructionThread(BlockingQueue<UploadFileData> preparedFileQueue, BlockingQueue<UploadFilePacket> packetQueue, FileUploadManagerThread fileUploadManagerThread, UploadPolicy uploadPolicy)