Package | Description |
---|---|
wjhk.jupload2.context | |
wjhk.jupload2.exception |
Some application specific exceptions.
|
wjhk.jupload2.filedata |
This package allows you to change the file relative behaviour: this page describes how to override the
default behaviour, to fullfill your needs (for instance add data compression, preload check, new data
about files in the upload to the server..
|
wjhk.jupload2.gui |
Implementation of caching and special algorithms for various file types.
|
wjhk.jupload2.gui.filepanel | |
wjhk.jupload2.gui.filepanel.treeview | |
wjhk.jupload2.gui.image | |
wjhk.jupload2.policies |
This package contains the upload policies: they give you hook entry points, to override the default applet behaviour
with a minimum of java code.
|
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 | Method and Description |
---|---|
UploadPolicy |
JUploadContext.getUploadPolicy()
This method the current UploadPolicy, associated with the current execution context.
|
UploadPolicy |
DefaultJUploadContext.getUploadPolicy()
Retrieves the current upload policy.
|
Constructor and Description |
---|
JavascriptHandler(UploadPolicy uploadPolicy,
JUploadPanel theJUploadPanel)
Constructor for JavascriptHandler
|
Constructor and Description |
---|
JUploadEOFException(UploadPolicy uploadPolicy,
String actionInError) |
JUploadExceptionTooBigFile(String filename,
long uploadLength,
UploadPolicy uploadPolicy)
Creates a new instance.
|
JUploadInterrupted(String detectedInMethod,
UploadPolicy uploadPolicy)
The standard constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
static void |
PictureFileData.freeMemory(String caller,
UploadPolicy uploadPolicy)
Free any available memory.
|
static ImageIcon |
PictureFileData.getImageIcon(File pictureFile,
int maxWidth,
int maxHeight,
UploadPolicy uploadPolicy)
Returns an ImageIcon for the given file, resized according to the given dimensions.
|
Constructor and Description |
---|
AudioFileData(File file,
UploadPolicy uploadPolicy)
Deprecated.
Creates a new instance.
|
DefaultFileData(File file,
UploadPolicy uploadPolicyParam)
Standard constructor
|
Modifier and Type | Method and Description |
---|---|
void |
JUploadTextArea.setUploadPolicy(UploadPolicy uploadPolicy) |
Constructor and Description |
---|
DebugDialog(Frame owner,
String text,
UploadPolicy uploadPolicy)
Creates a new instance.
|
DialogUploadRetry(Frame owner,
JUploadException juploadException,
int numRetry,
UploadPolicy uploadPolicy)
Creates a new instance.
|
DnDListener(JUploadPanel uploadPanel,
UploadPolicy uploadPolicy)
Creates a new instance.
|
JUploadFileChooser(UploadPolicy uploadPolicyParam)
The 'standard' constructor for our file chooser
|
JUploadFileView(UploadPolicy uploadPolicy,
JFileChooser fileChooser)
Creates a new instance.
|
JUploadPanelImpl(JUploadTextArea logWindow,
UploadPolicy uploadPolicyParam)
Standard constructor.
|
JUploadTextArea(int rows,
int columns,
UploadPolicy uploadPolicy)
Constructs a new empty TextArea with the specified number of rows and
columns.
|
Modifier and Type | Method and Description |
---|---|
static String |
SizeRenderer.formatFileSize(double fileSize,
UploadPolicy uploadPolicy)
Format a number of bytes of a file size (or a number of uploaded bytes,
or whatever), into a well formatted string, like 122mB.
|
static String |
SizeRenderer.formatFileUploadSpeed(double fileUploadSpeedParam,
UploadPolicy uploadPolicy)
Format a number of bytes into a well formatted string, like 122mB.
|
Constructor and Description |
---|
DateRenderer(UploadPolicy uploadPolicy)
Creates a new instance.
|
FilePanelFlatDataModel2(UploadPolicy uploadPolicy) |
FilePanelJFlatTable(JUploadPanel jup,
UploadPolicy uploadPolicy)
Creates a new instance.
|
FilePanelTableImp(JUploadPanel juploadPanel,
UploadPolicy uploadPolicy)
Creates a new instance.
|
SizeRenderer(UploadPolicy uploadPolicy)
Creates a new instance.
|
Constructor and Description |
---|
FileDataTreeViewModel(UploadPolicy uploadPolicy,
FilePanelFlatDataModel2 flatModel) |
FolderNode(File file,
UploadPolicy uploadPolicy,
MyTreeTableModel<TreeFileDataNode> model,
FilePanelFlatDataModel2 flatModel)
Creates a node, with no link to any parent.
|
FolderNode(UploadPolicy uploadPolicy,
MyTreeTableModel<TreeFileDataNode> model,
FilePanelFlatDataModel2 flatModel) |
MyAbstractTreeTableModel(UploadPolicy uploadPolicy,
T root) |
RootNode(UploadPolicy uploadPolicy,
MyTreeTableModel<TreeFileDataNode> model,
FilePanelFlatDataModel2 flatModel) |
Modifier and Type | Field and Description |
---|---|
protected UploadPolicy |
PicturePanel.uploadPolicy
The current upload policy.
|
Constructor and Description |
---|
DialogPicturePanel(PictureDialog pictureDialog,
UploadPolicy uploadPolicy,
PictureFileData pictureFileData) |
JUploadImagePreview(JFileChooser jFileChooser,
UploadPolicy uploadPolicy)
The standard constructor for this class.
|
PictureDialog(Frame owner,
PictureFileData pictureFileData,
UploadPolicy uploadPolicy)
Creates a new instance.
|
PicturePanel(boolean hasToStoreOffscreenPicture,
UploadPolicy uploadPolicy)
Standard constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
AAFUploadPolicy |
class |
CoppermineUploadPolicy
Specific UploadPolicy for the coppermine picture gallery.
|
class |
CustomizedNbFilesPerRequestUploadPolicy
Deprecated.
This class is of no use, as it actually behaves exactly as the
DefaultUploadPolicy . |
class |
DefaultUploadPolicy
This class implements all
UploadPolicy methods. |
class |
FileByFileUploadPolicy
Deprecated.
You can use the applet, without the uploadPolicy applet
parameter, and put the nbFilesPerRequest to 1. It does the
same...
|
class |
FilesTogetherUploadPolicy
Upload policy that is a simple box.
|
class |
PictureUploadPolicy
This class add handling of pictures to upload.
|
class |
SilverpeasUploadPolicy
Personnalised Policy with no button : use only DragAndDrop or Copy/Paste with automatic upload.
|
class |
SuperSimpleUploadPolicy
A SuperSimpleUploadPolicy - see
https://sourceforge.net/tracker/?
|
Modifier and Type | Method and Description |
---|---|
static UploadPolicy |
UploadPolicyFactory.getUploadPolicy(JUploadContext theAppletContext)
Returns an upload Policy for the given applet and URL.
|
Modifier and Type | Field and Description |
---|---|
protected UploadPolicy |
DefaultFileUploadThread.uploadPolicy
The upload policy contains all parameters needed to define the way files should be uploaded, including the URL.
|
Constructor and Description |
---|
DefaultFileUploadThread(String threadName,
BlockingQueue<UploadFilePacket> packetQueue,
UploadPolicy uploadPolicy,
FileUploadManagerThread fileUploadManagerThread)
Creates a new instance.
|
FilePreparationThread(BlockingQueue<UploadFileData> preparedFileQueue,
FileUploadManagerThread fileUploadManagerThread,
UploadPolicy uploadPolicy) |
FileUploadManagerThreadImpl(UploadPolicy uploadPolicy)
Standard constructor of the class.
|
FileUploadThreadFTP(UploadPolicy uploadPolicy,
BlockingQueue<UploadFilePacket> packetQueue,
FileUploadManagerThread fileUploadManagerThread)
Creates a new instance.
|
FileUploadThreadHTTP(UploadPolicy uploadPolicy,
BlockingQueue<UploadFilePacket> packetQueue,
FileUploadManagerThread fileUploadManagerThread)
Creates a new instance.
|
UploadFileData(FileData fileDataParam,
int numOfFileInCurrentUpload,
FileUploadManagerThread fileUploadManagerThreadParam,
UploadPolicy uploadPolicyParam)
Standard constructor for the UploadFileData class.
|
UploadFilePacketPoisonned(UploadPolicy uploadPolicy)
The standard constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
HttpProtocolFinderThread.computeServerProtocol(UploadPolicy uploadPolicy,
String givenServerProtocol)
This static method is the entry point for this class.
|
Constructor and Description |
---|
ByteArrayEncoderHTTP(UploadPolicy uploadPolicy)
Create an encoder, using the DEFAULT_ENCODING encoding.
|
ByteArrayEncoderHTTP(UploadPolicy uploadPolicy,
String bound)
Create an encoder, and specifies the encoding to use.
|
ByteArrayEncoderHTTP(UploadPolicy uploadPolicy,
String bound,
String encoding)
Create an encoder, and specifies the boundary and encoding to use.
|
CookieJar(UploadPolicy uploadPolicy)
The creator for this class.
|
HttpConnect(UploadPolicy policy)
Creates a new instance.
|
HTTPConnectionHelper(UploadPolicy uploadPolicy)
The standard constructor for this class.
|
HTTPConnectionHelper(URL url,
String method,
boolean bChunkEnabled,
boolean bLastChunk,
UploadPolicy uploadPolicy)
The standard constructor for this class.
|
HTTPInputStreamReader(HTTPConnectionHelper httpConnectionHelper,
UploadPolicy uploadPolicy)
The standard constructor: does nothing !
|
HttpProtocolFinderThread(UploadPolicy uploadPolicy,
String givenServerProtocol) |
InteractiveTrustManager(UploadPolicy p,
String hostname,
String passwd)
Create a new instance.
|
ProgressBarManager(UploadPolicy uploadPolicy,
FilePreparationThread filePreparationThread) |
Copyright © 2015. All rights reserved.