Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
FileData |
FilePanelFlatDataModel2.addFile(File file)
Add a file to the panel (at the end of the list)
|
Modifier and Type | Method and Description |
---|---|
TreeFileDataNode |
FolderNode.addChild(File f)
Adds a given file as a Child of the current node.
|
int |
FolderNode.addChildAndDescendants(File f)
Adds a given file as a Child of the current node.
|
int |
MyTreeTableModel.attachObject(Object o)
Attach a new Object into the current hierarchy.
|
int |
FileDataTreeViewModel.attachObject(Object o)
This method searches in the hierarchy of files and folder to upload, the node which contains this file.
|
FolderNode |
FolderNode.getSubfolderOrCreateIt(File file)
This method checks if this the given subfolder has already been created.
|
TreePath |
FileDataTreeViewModel.getTreePathFromFile(File file,
boolean createIntermediateNode)
|
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.
|
Copyright © 2015. All rights reserved.