Package | Description |
---|---|
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).
|
wjhk.jupload2.upload.helper |
Modifier and Type | Class and Description |
---|---|
class |
UploadFilePacketPoisonned |
Modifier and Type | Method and Description |
---|---|
BlockingQueue<UploadFilePacket> |
FileUploadThread.getPacketQueue() |
BlockingQueue<UploadFilePacket> |
DefaultFileUploadThread.getPacketQueue() |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
FileUploadManagerThreadImpl.currentRequestIsFinished(UploadFilePacket uploadFilePacket) |
void |
FileUploadManagerThread.currentRequestIsFinished(UploadFilePacket packet)
This method is called when the server response for the upload indicates a
success.
|
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 and Description |
---|
DefaultFileUploadThread(String threadName,
BlockingQueue<UploadFilePacket> packetQueue,
UploadPolicy uploadPolicy,
FileUploadManagerThread fileUploadManagerThread)
Creates a new instance.
|
FileUploadThreadFTP(UploadPolicy uploadPolicy,
BlockingQueue<UploadFilePacket> packetQueue,
FileUploadManagerThread fileUploadManagerThread)
Creates a new instance.
|
FileUploadThreadHTTP(UploadPolicy uploadPolicy,
BlockingQueue<UploadFilePacket> packetQueue,
FileUploadManagerThread fileUploadManagerThread)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
ProgressBarManager.anotherFileHasBeenSent(UploadFilePacket uploadFilePacket,
UploadFileData uploadFileData)
Called when a new file is uploaded.
|
void |
ProgressBarManager.setUploadStatus(UploadFilePacket uploadFilePacket,
UploadFileData uploadFileData,
int uploadStatus) |
Copyright © 2015. All rights reserved.