public class LocalFileFilterToadlet extends LocalFileBrowserToadlet
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PATH |
static java.lang.String |
POST_TO |
changeDir, core, selectDir, selectFileHANDLE_METHOD_PREFIX| Constructor and Description |
|---|
LocalFileFilterToadlet(NodeClientCore core,
HighLevelSimpleClient highLevelSimpleClient) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
allowedDir(java.io.File path)
Whether the directory is allowed for the purposes of the specific browser.
|
protected void |
createSelectDirectoryButton(HTMLNode node,
java.lang.String absolutePath,
HTMLNode persistence)
Renders directory selection button with selectDir and filenameField() set.
|
protected void |
createSelectFileButton(HTMLNode node,
java.lang.String absolutePath,
HTMLNode persistence)
Renders file selection button with selectFile and filenameField() set.
|
java.lang.String |
path() |
protected java.util.Hashtable<java.lang.String,java.lang.String> |
persistenceFields(java.util.Hashtable<java.lang.String,java.lang.String> set)
Performs sanity checks and generates parameter persistence fields.
|
protected java.lang.String |
postTo() |
protected java.lang.String |
startingDir()
Determines the appropriate directory to start out in for the given browser.
|
defaultDownloadDir, defaultUploadDir, filenameField, handleMethodGET, handleMethodPOSTaddHomepageLink, allowPOSTWithoutPassword, findSupportedMethods, getClientImpl, sendErrorPage, sendErrorPage, sendErrorPage, showAsToadlet, showAsToadlet, writeHTMLReply, writeHTMLReply, writeHTMLReply, writeInternalError, writeReply, writeReply, writeReply, writeReply, writeReply, writeReply, writeTemporaryRedirect, writeTextReply, writeTextReplypublic static final java.lang.String PATH
public static final java.lang.String POST_TO
public LocalFileFilterToadlet(NodeClientCore core, HighLevelSimpleClient highLevelSimpleClient)
public java.lang.String path()
path in class LocalFileBrowserToadletprotected java.lang.String postTo()
postTo in class LocalFileBrowserToadletprotected boolean allowedDir(java.io.File path)
LocalFileBrowserToadletallowedDir in class LocalFileBrowserToadletpath - The path to check permissions for.protected void createSelectFileButton(HTMLNode node, java.lang.String absolutePath, HTMLNode persistence)
LocalFileBrowserToadletcreateSelectFileButton in class LocalFileBrowserToadletnode - Node to add the button to.absolutePath - Path to set the filenameField() field to.persistence - Additional persistence fields to include.protected void createSelectDirectoryButton(HTMLNode node, java.lang.String absolutePath, HTMLNode persistence)
LocalFileBrowserToadletcreateSelectDirectoryButton in class LocalFileBrowserToadletnode - Node to add the button to.absolutePath - Path to set the filenameField() field to.persistence - Additional persistence fields to include.protected java.util.Hashtable<java.lang.String,java.lang.String> persistenceFields(java.util.Hashtable<java.lang.String,java.lang.String> set)
LocalFileBrowserToadletpersistenceFields in class LocalFileBrowserToadletset - page parts/parametersprotected java.lang.String startingDir()
LocalFileBrowserToadletstartingDir in class LocalFileBrowserToadlet