Package | Description |
---|---|
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.filepanel | |
wjhk.jupload2.gui.filepanel.treeview | |
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).
|
Modifier and Type | Class and Description |
---|---|
class |
AudioFileData
Deprecated.
|
class |
DefaultFileData
This class contains all data and methods for a file to upload.
|
class |
PictureFileData
This class contains all data about files to upload as a picture.
|
Modifier and Type | Method and Description |
---|---|
static File |
DefaultFileData.getRoot(List<? extends FileData> rows)
Return the 'biggest' common ancestror of the given file array.
|
Modifier and Type | Method and Description |
---|---|
FileData |
FilePanelFlatDataModel2.addFile(File file)
Add a file to the panel (at the end of the list)
|
FileData |
FilePanelFlatDataModel2.contains(String absolutePath)
Get the FileData representing a given file.
|
FileData |
FilePanelFlatDataModel2.getFileDataAt(int row)
Ask for the file contained at specified row number.
|
FileData |
FilePanelTableImp.getFileDataAt(Point point) |
FileData |
FilePanel.getFileDataAt(Point point)
Ask for the file contained below the specific point on the screen.
|
Modifier and Type | Method and Description |
---|---|
List<FileData> |
FilePanelTableImp.getFiles() |
List<FileData> |
FilePanelFlatDataModel2.getFiles() |
List<FileData> |
FilePanel.getFiles()
Retrieve all currently stored files.
|
Modifier and Type | Method and Description |
---|---|
int |
ColumnComparator.compare(FileData one,
FileData two) |
int |
FilePanelFlatDataModel2.getRow(FileData fileData)
Returns the row number, for the given fileData, in the current list.
|
void |
FilePanelTableImp.remove(FileData fileData)
Removes all occurences of a file from the list.
|
void |
FilePanel.remove(FileData fileData)
Remove a specified file entry.
|
void |
FilePanelTableImp.remove(FileData[] files)
Remove an array of files, typically an
UploadFilePacket . |
void |
FilePanel.remove(FileData[] files)
Remove an array of files, typically an
UploadFilePacket . |
Modifier and Type | Interface and Description |
---|---|
interface |
TreeFileDataNode |
Modifier and Type | Class and Description |
---|---|
class |
FileDataNode |
class |
FolderNode |
class |
RootNode
This class is the root of JUPload of the file system.
|
Modifier and Type | Method and Description |
---|---|
TreeFileDataNode |
FolderNode.addChild(FileData fileData)
This method adds a new FileData in the children list, for the current object.
|
Constructor and Description |
---|
FileDataNode(FileData fileData) |
Modifier and Type | Method and Description |
---|---|
FileData |
UploadPolicy.createFileData(File file)
This methods creates a new FileData instance (or one of its inherited classes), and return it to the caller.
|
FileData |
PictureUploadPolicy.createFileData(File file)
This methods actually returns a
PictureFileData instance. |
FileData |
DefaultUploadPolicy.createFileData(File file)
The DefaultUpload accepts all file types: we just return an instance of FileData, without any test.
|
Modifier and Type | Method and Description |
---|---|
String |
UploadPolicy.getUploadFilename(FileData fileData,
int index)
Get the original name of the file on the disk.
|
String |
PictureUploadPolicy.getUploadFilename(FileData fileData,
int index) |
String |
DefaultUploadPolicy.getUploadFilename(FileData fileData,
int index) |
String |
UploadPolicy.getUploadName(FileData fileData,
int index)
Get an upload filename, that is to be send in the HTTP upload request.
|
String |
DefaultUploadPolicy.getUploadName(FileData fileData,
int index) |
void |
UploadPolicy.onFileDoubleClicked(FileData fileData)
Reaction when the user double click on a file, in the file list.
|
void |
PictureUploadPolicy.onFileDoubleClicked(FileData pictureFileData)
Open the 'big' preview dialog box.
|
void |
DefaultUploadPolicy.onFileDoubleClicked(FileData fileData)
Default implementation of the
UploadPolicy.onFileDoubleClicked(FileData) . |
void |
UploadPolicy.onFileSelected(FileData fileData)
This method is called each time a file is selected in the panel files.
|
void |
PictureUploadPolicy.onFileSelected(FileData fileData) |
void |
DefaultUploadPolicy.onFileSelected(FileData fileData)
Default implementation of the
UploadPolicy.onFileSelected(wjhk.jupload2.filedata.FileData) . |
void |
CoppermineUploadPolicy.onFileSelected(FileData fileData) |
Modifier and Type | Class and Description |
---|---|
class |
UploadFileData
This class implements the FileData interface, and is responsible to do the actual upload of the files.
|
class |
UploadFileDataPoisonned
This class is a kind of 'End of Queue' object.
|
Constructor and Description |
---|
UploadFileData(FileData fileDataParam,
int numOfFileInCurrentUpload,
FileUploadManagerThread fileUploadManagerThreadParam,
UploadPolicy uploadPolicyParam)
Standard constructor for the UploadFileData class.
|
Copyright © 2015. All rights reserved.