net.jot.web.filebrowser
Class JOTFileBrowserController
java.lang.Object
net.jot.web.ctrl.JOTController
net.jot.web.filebrowser.JOTFileBrowserController
public abstract class JOTFileBrowserController
- extends JOTController
Generic File Browsing support controller, used to handle browsing the file system, uploading/picking files.
Extend this to create your own file browsing implementation
JOTFileBrowserHelper contains the actual actions such as deeting a file, picking one etc...
- Author:
- thibautc
|
Method Summary |
abstract JOTFileBrowserSession |
createFbSession()
Your implementation should create return a JOTFileBrowserSession,
which basically tells the FileBrowser how to behave, what to allow and what is expected of the user. |
java.lang.String |
process()
Process the browser request, ie: browse around/pcik a file etc... |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JUST_RESET
public static final java.lang.String JUST_RESET
- See Also:
- Constant Field Values
RESULTS_ATTRIBUTE
public static final java.lang.String RESULTS_ATTRIBUTE
- See Also:
- Constant Field Values
JOTFileBrowserController
public JOTFileBrowserController()
process
public java.lang.String process()
throws java.lang.Exception
- Process the browser request, ie: browse around/pcik a file etc...
- Specified by:
process in class JOTController
- Returns:
-
- Throws:
java.lang.Exception
createFbSession
public abstract JOTFileBrowserSession createFbSession()
- Your implementation should create return a JOTFileBrowserSession,
which basically tells the FileBrowser how to behave, what to allow and what is expected of the user.
- Returns: