public abstract class FileUploadDialog extends HTMLDialog
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
CHARSET_PARAMETER_NAME_FOR_USER_CHOICE |
buildDone, cancelButtonPressed, NAME_FOR_CANCEL_ACTION, NAME_FOR_OK_ACTION, okButtonPressed, sessionData
Constructor and Description |
---|
FileUploadDialog(SessionData sessionData) |
FileUploadDialog(SessionData sessionData,
int readAheadLimit) |
Modifier and Type | Method and Description |
---|---|
FileSpecificationHTML |
addUploader(java.lang.String label) |
protected void |
extendAfterFileList(ToAppletWriter out) |
protected void |
extendBeforeFileList(ToAppletWriter out) |
void |
fetchValuesFromRequest(GeneralizedRequest request)
Synchronizes user input and internal mirrored values by delegating to each
input element of this group to fetch its value from the request.
|
protected java.io.BufferedInputStream |
getBufferedInputStream(GeneralizedRequest request,
FileSpecificationHTML fileSpec) |
protected java.io.BufferedReader |
getBufferedReader(GeneralizedRequest request,
FileSpecificationHTML fileSpec,
java.lang.String charsetName) |
protected java.lang.String |
getCharset() |
protected java.lang.String |
getInitialEncodingChoice() |
void |
writeInitialRemoteView(ToAppletWriter out) |
act, addErrorMessage, buildRemoteView, getAppResStr, getCloseScript, getCloseScript, getDialogId, getTitle, hasErrorMessages, informAboutResult, isBuildDone, process, setTitle, writeFooter, writeHeader
protected static final java.lang.String CHARSET_PARAMETER_NAME_FOR_USER_CHOICE
public FileUploadDialog(SessionData sessionData)
public FileUploadDialog(SessionData sessionData, int readAheadLimit)
public FileSpecificationHTML addUploader(java.lang.String label)
public void writeInitialRemoteView(ToAppletWriter out)
writeInitialRemoteView
in class HTMLDialog
protected java.lang.String getInitialEncodingChoice()
protected void extendBeforeFileList(ToAppletWriter out)
protected void extendAfterFileList(ToAppletWriter out)
public void fetchValuesFromRequest(GeneralizedRequest request)
fetchValuesFromRequest
in class HTMLDialog
request
- the current requestprotected java.lang.String getCharset()
protected java.io.BufferedReader getBufferedReader(GeneralizedRequest request, FileSpecificationHTML fileSpec, java.lang.String charsetName)
protected java.io.BufferedInputStream getBufferedInputStream(GeneralizedRequest request, FileSpecificationHTML fileSpec)
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de