public class LocalFileN2NMToadlet 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 |
|---|
LocalFileN2NMToadlet(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 fileRow,
java.lang.String path,
HTMLNode persistence)
Renders directory selection button with selectDir 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.
|
createSelectFileButton, 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 LocalFileN2NMToadlet(NodeClientCore core, HighLevelSimpleClient highLevelSimpleClient)
public java.lang.String path()
path in class LocalFileBrowserToadletprotected java.lang.String postTo()
postTo in class LocalFileBrowserToadletprotected java.lang.String startingDir()
LocalFileBrowserToadletstartingDir in class LocalFileBrowserToadletprotected boolean allowedDir(java.io.File path)
LocalFileBrowserToadletallowedDir in class LocalFileBrowserToadletpath - The path to check permissions for.protected void createSelectDirectoryButton(HTMLNode fileRow, java.lang.String path, HTMLNode persistence)
LocalFileBrowserToadletcreateSelectDirectoryButton in class LocalFileBrowserToadletfileRow - Node to add the button to.path - 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/parameters