public abstract class LocalDirectoryToadlet extends LocalFileBrowserToadlet
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
basePath |
protected java.lang.String |
postTo |
changeDir, core, selectDir, selectFile
HANDLE_METHOD_PREFIX
Constructor and Description |
---|
LocalDirectoryToadlet(NodeClientCore core,
HighLevelSimpleClient highLevelSimpleClient,
java.lang.String postTo) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
basePath() |
protected void |
createSelectFileButton(HTMLNode fileRow,
java.lang.String filename,
HTMLNode persist)
Renders file selection button with selectFile and filenameField() set.
|
java.lang.String |
path() |
protected java.lang.String |
postTo() |
allowedDir, createSelectDirectoryButton, defaultDownloadDir, defaultUploadDir, filenameField, handleMethodGET, handleMethodPOST, persistenceFields, startingDir
addHomepageLink, allowPOSTWithoutPassword, findSupportedMethods, getClientImpl, sendErrorPage, sendErrorPage, sendErrorPage, showAsToadlet, showAsToadlet, writeHTMLReply, writeHTMLReply, writeHTMLReply, writeInternalError, writeReply, writeReply, writeReply, writeReply, writeReply, writeReply, writeTemporaryRedirect, writeTextReply, writeTextReply
protected final java.lang.String postTo
protected static final java.lang.String basePath
public LocalDirectoryToadlet(NodeClientCore core, HighLevelSimpleClient highLevelSimpleClient, java.lang.String postTo)
public java.lang.String path()
path
in class LocalFileBrowserToadlet
public static java.lang.String basePath()
protected java.lang.String postTo()
postTo
in class LocalFileBrowserToadlet
protected void createSelectFileButton(HTMLNode fileRow, java.lang.String filename, HTMLNode persist)
LocalFileBrowserToadlet
createSelectFileButton
in class LocalFileBrowserToadlet
fileRow
- Node to add the button to.filename
- Path to set the filenameField() field to.persist
- Additional persistence fields to include.