|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectwjhk.jupload2.policies.DefaultUploadPolicy
public class DefaultUploadPolicy
This class implements all UploadPolicy
methods. Its way of working is he same as the JUpload version 1.
The simplest way to use this policy is given in the presentation of
UploadPolicy. The DefaultUploadPolicy is used when no
uploadPolicy parameter is given to the applet, or this parameter has
'DefaultUploadPolicy' as a value.
The default behavior is representated below. It can be overrided by
adding parameters to the applet. All available parameters are shown in the
presentation of UploadPolicy.
UploadPolicy methods.
| Field Summary | |
|---|---|
protected Pattern |
patternError
Same as patternSuccess, but for the error message. |
protected Pattern |
patternSuccess
The regexp pattern that is used to find the success string in the HTTP response. |
| Constructor Summary | |
|---|---|
DefaultUploadPolicy(JUploadApplet theApplet)
The main constructor : use default values, and the given postURL. |
|
| Method Summary | |
|---|---|
void |
addComponentsToJUploadPanel(JUploadPanel jUploadPanel)
This methods allow the upload policy to override the default disposition of the components on the applet. |
void |
addHeader(String header)
Add an header to the list of headers that will be added to each HTTP upload request. |
void |
afterFileDropped(DropTargetDropEvent dropEvent)
Default reaction after a successful drop operation: no action. |
void |
afterUpload(Exception e,
String serverOutput)
This method is called after an upload, whether it is successful or not. |
void |
alert(String key)
alert displays a MessageBox with a unique 'Ok' button, like the javascript alert function. |
void |
alertStr(String str)
alert displays a MessageBox with a unique 'Ok' button, like the javascript alert function. |
void |
beforeUpload()
Enable any action, required before an upload. |
boolean |
checkUploadSuccess(int status,
String msg,
String body)
The default behaviour (see DefaultUploadPolicy) is to check that
the stringUploadSuccess applet parameter is present in the response from
the server. |
JUploadFileChooser |
createFileChooser()
Default implementation for UploadPolicy.createFileChooser():
just a creation of a JUploadFileChooser. |
FileData |
createFileData(File file,
File root)
The DefaultUpload accepts all file types: we just return an instance of FileData, without any test. |
JPanel |
createProgressPanel(JProgressBar progressBar,
JButton uploadButton,
JButton stopButton,
JPanel mainPanel)
This method is called to create the progress panel. |
JPanel |
createStatusBar(JLabel content,
JPanel mainPanel)
This method is used to create a new status bar. |
JPanel |
createTopPanel(JButton browse,
JButton remove,
JButton removeAll,
JUploadPanel jUploadPanel)
Default implementation of UploadPolicy.createTopPanel(JButton, JButton, JButton, JUploadPanel). |
void |
deleteLog()
Delete the current log. |
void |
displayDebug(String debug,
int minDebugLevel)
log a debug message. |
void |
displayErr(Exception e)
log an error message, based on an exception. |
void |
displayErr(String err)
log an error message. |
void |
displayErr(String errorText,
Exception exception)
If debug is off, the log window may not be visible. |
void |
displayInfo(String info)
log an info message. |
void |
displayParameterStatus()
This method displays the applet parameter list, according to the current debugLevel. |
void |
displayWarn(String warn)
log a warning message. |
boolean |
fileFilterAccept(File file)
This method returns the response for the JUploadFileFilter.accept(File) which just calls this method. |
String |
fileFilterGetDescription()
Return a description for the FileFilter, according to the current upload policy. |
Icon |
fileViewGetIcon(File file)
Returns null: the default icon is used. |
String |
getAfterUploadTarget()
Return the target, specified as applet parameter "afterUploadTarget" |
String |
getAfterUploadURL()
Retrieves the current value for the afterUploadURL applet parameter. |
String |
getAllowedFileExtensions()
Retrieves the current value for allowedFileExtensions * |
boolean |
getAllowHttpPersistent()
Retrieves the current value for allowHttpPersistent |
JUploadApplet |
getApplet()
A useful function, that has nothing to do with an upload policy. |
String |
getDateFormat()
Returns the currently choosen format for date. |
int |
getDebugLevel()
This method returns the current debug level. |
int |
getFileChooserIconFromFileContent()
Getter for fileChooserIconFromFileContent. |
int |
getFileChooserIconSize()
Getter for fileChooserIconSize. |
String |
getFilenameEncoding()
Return the encoding that should be used for the filename. |
String |
getFormdata()
Retrieve the applet's "formdata" parameter. |
String |
getLastResponseBody()
Retrieve the body of the last server response. |
String |
getLastResponseMessage()
Retrieve the status/error message of the last server response. |
protected String |
getLookAndFeel()
|
long |
getMaxChunkSize()
Returns the value of the applet parameter maxChunkSize (see above for a description of all applet parameters) |
long |
getMaxFileSize()
Returns the value of the applet parameter maxFileSize (see above for a description of all applet parameters) |
int |
getNbFilesPerRequest()
This function returns the number of files should be uploaded during one access to the server. |
String |
getPostURL()
Get the target URL for upload. |
String |
getServerProtocol()
HTTP protocol that should be used to send the HTTP request. |
boolean |
getShowLogWindow()
Indicate whether the log window should be shown. |
String |
getSpecificHeaders()
Returns the list of specific headers, that will be added to all HTTP request to the server. |
int |
getSslVerifyCert()
Retrieves SSL verification mode. |
String |
getString(String key)
Retrieve a local property. |
String |
getStringUploadError()
Retrieve the regular expression that will be tested against each line of the server answer. |
String |
getStringUploadSuccess()
Get the regular expression that will be tested against each line of the server answer. |
String |
getUploadFilename(FileData fileData,
int index)
Get the original name of the file on the disk. |
String |
getUploadName(FileData fileData,
int index)
Get an upload filename, that is to be send in the HTTP upload request. |
String |
getUrlToSendErrorTo()
Returns the current URL where error log must be posted. |
boolean |
isUploadReady()
Indicate if everything is ready for upload. |
wjhk.jupload2.upload.helper.ByteArrayEncoder |
onAppendHeader(wjhk.jupload2.upload.helper.ByteArrayEncoder bae)
Append specific headers for this upload (session cookies, for instance). |
void |
onFileDoubleClicked(FileData fileData)
Default implementation of the UploadPolicy.onFileDoubleClicked(FileData). |
void |
onFileSelected(FileData fileData)
Default implementation of the UploadPolicy.onFileSelected(wjhk.jupload2.filedata.FileData). |
void |
sendDebugInformation(String description)
This method allows the applet to post debug information to the website (see UploadPolicy.getUrlToSendErrorTo()). |
protected void |
setAfterUploadURL(String afterUploadURL)
Set the afterUploadURL |
protected void |
setAllowedFileExtensions(String allowedFileExtensions)
|
protected void |
setAllowHttpPersistent(boolean value)
|
void |
setCursor(Cursor cursor)
Changes the current mouse cursor. |
void |
setDebugLevel(int debugLevel)
This method indicate whether or not the debug messages must be displayed. |
void |
setDebugLevel(int debugLevel,
boolean displayAppletParameterList)
Set the debug level. |
void |
setFileChooserIconFromFileContent(int fileChooserIconFromFileContent)
Setter for fileChooserIconFromFileContent. |
void |
setFileChooserIconSize(int fileChooserIconSize)
Setter for fileChooserIconSize. |
protected void |
setFilenameEncoding(String filenameEncoding)
|
protected void |
setLang(String lang)
This method sets the current language to take into account. |
protected void |
setLang2(String lang)
|
protected void |
setLookAndFeel(String lookAndFeel)
|
protected void |
setMaxChunkSize(long maxChunkSize)
|
protected void |
setMaxFileSize(long maxFileSize)
|
protected void |
setNbFilesPerRequest(int nbFilesPerRequest)
|
void |
setPostURL(String postURL)
The URL can change during the life of our policy ... |
void |
setProperty(String prop,
String value)
This method manages all applet parameters. |
protected void |
setServerProtocol(String value)
|
protected void |
setShowLogWindow(boolean showLogWindow)
|
protected void |
setShowStatusbar(boolean show)
|
protected void |
setSpecificHeaders(String specificHeaders)
Set all specific headers defined in the specificHeaders applet parameter. |
protected void |
setSslVerifyCert(String mode)
|
protected void |
setStringUploadError(String stringUploadError)
|
protected void |
setStringUploadSuccess(String stringUploadSuccess)
|
protected void |
setUrlToSendErrorTo(String urlToSendErrorTo)
|
Cursor |
setWaitCursor()
This method changes the current mouse cursor to the wait one. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Pattern patternSuccess
protected Pattern patternError
patternSuccess, but for the error message. If found,
then the upload was accepted by the remote HTTP server, but rejected by
the remote application. This pattern should also find the error message
in the first matching string.
| Constructor Detail |
|---|
public DefaultUploadPolicy(JUploadApplet theApplet)
throws JUploadException
theApplet - The current applet. As the reference to the current
upload policy exists almost everywhere, this parameter allows
any access to anyone on the applet... including reading the
applet parameters.
JUploadException - If an applet parameter is invalid| Method Detail |
|---|
public void addHeader(String header)
UploadPolicyDefaultUploadPolicy.
addHeader in interface UploadPolicyUploadPolicy.addHeader(java.lang.String)public void beforeUpload()
UploadPolicyPictureUploadPolicy disable the rotation buttons during buttons.
beforeUpload in interface UploadPolicyUploadPolicy.beforeUpload()
public boolean checkUploadSuccess(int status,
String msg,
String body)
throws JUploadException
DefaultUploadPolicy) is to check that
the stringUploadSuccess applet parameter is present in the response from
the server. The return is tested, in the order below:
checkUploadSuccess in interface UploadPolicystatus - The HTTP response codemsg - The full HTTP response message (e.g. "404 Not found").body - The body of the HTTP answer.
JUploadExceptionUploadPolicy.checkUploadSuccess(int, String, String)
public void afterUpload(Exception e,
String serverOutput)
throws JUploadException
UploadPolicy
afterUpload in interface UploadPolicye - null if success, or the exception indicating the problem.serverOutput - The full server output, including the HTTP headers.
JUploadExceptionUploadPolicy.afterUpload(Exception, String)public void alertStr(String str)
UploadPolicy
alertStr in interface UploadPolicystr - The full String that must be displayed to the user.UploadPolicy.alertStr(String)public void alert(String key)
UploadPolicy
alert in interface UploadPolicykey - The string identifying the text to display, depending on the
current language.UploadPolicy.alert(String)
public FileData createFileData(File file,
File root)
throws JUploadExceptionStopAddingFiles
createFileData in interface UploadPolicyfile - The file used to create the FileData instance. This method is
called once for each file selected by the user, even if the
user added several files in one 'shot'.root - An optional toplevel directory of a hierarchy (can be null).
PictureUploadPolicy.createFileData(File,File) for an
example. It's up to the upload policy to display a message to
inform the user that this file won't be added to the file list.
JUploadExceptionStopAddingFiles - The exception is not really an
error. It allows an easy way to indicates that the applet
should stop adding files when the user clicked on the
'Cancel' button.UploadPolicy.createFileData(File, File)
public JPanel createTopPanel(JButton browse,
JButton remove,
JButton removeAll,
JUploadPanel jUploadPanel)
UploadPolicy.createTopPanel(JButton, JButton, JButton, JUploadPanel).
IT creates a JPanel, containing the three given JButton. It creates the
same panel as the original JUpload.
createTopPanel in interface UploadPolicybrowse - The default browse button.remove - The default removeSelected button.removeAll - The default removeAll button.jUploadPanel - The panel that contains all objects.
UploadPolicy.createTopPanel(JButton, JButton,
JButton, JUploadPanel)
public JPanel createProgressPanel(JProgressBar progressBar,
JButton uploadButton,
JButton stopButton,
JPanel mainPanel)
UploadPolicycreateProgressPanel(JProgressBar, JButton, JButton, JPanel).
createProgressPanel in interface UploadPolicyprogressBar - The default progress bar.uploadButton - The default upload button.stopButton - The default stop button.mainPanel - The panel that contains all objects.
UploadPolicy.createProgressPanel(javax.swing.JProgressBar,
javax.swing.JButton, javax.swing.JButton, javax.swing.JPanel)
public JPanel createStatusBar(JLabel content,
JPanel mainPanel)
UploadPolicycreateStatusBar(JLabel, JPanel).
createStatusBar in interface UploadPolicycontent - The status bar contentmainPanel - The panel that contains all objects.
UploadPolicy.createStatusBar(javax.swing.JLabel,
javax.swing.JPanel)public void addComponentsToJUploadPanel(JUploadPanel jUploadPanel)
addComponentsToJUploadPanel in interface UploadPolicyjUploadPanel - The main applet panel.UploadPolicy.addComponentsToJUploadPanel(JUploadPanel)public void displayErr(Exception e)
UploadPolicy
displayErr in interface UploadPolicye - The exception to reportUploadPolicy.displayErr(Exception)public void displayErr(String err)
UploadPolicy
displayErr in interface UploadPolicyerr - The erreur message to be displayed.UploadPolicy.displayErr(String)
public void displayErr(String errorText,
Exception exception)
displayErr in interface UploadPolicyerrorText - The error message to be displayed.exception - An exception. It's stacktrace is logged.UploadPolicy.displayErr(java.lang.String,
java.lang.Exception)public void displayInfo(String info)
UploadPolicy
displayInfo in interface UploadPolicyinfo - The information message that will be displayed.UploadPolicy.displayInfo(String)public void displayWarn(String warn)
UploadPolicy
displayWarn in interface UploadPolicywarn - The warning message that will be displayed.UploadPolicy.displayWarn(String)
public void displayDebug(String debug,
int minDebugLevel)
UploadPolicy
displayDebug in interface UploadPolicydebug - The message to display.minDebugLevel - If the current debug level is superior or equals to
minDebugLevel, the message will be displayed. Otherwise, it
will be ignored.UploadPolicy.displayDebug(String, int)public String getString(String key)
UploadPolicy
getString in interface UploadPolicykey - The key, whose associated text is to retrieve.
UploadPolicy.getString(String)
public String getUploadFilename(FileData fileData,
int index)
throws JUploadException
UploadPolicy
getUploadFilename in interface UploadPolicyfileData - The file data whose upload file name must be calculated.index - index of the file in the current request to the server (from
0 to n)
JUploadExceptionUploadPolicy.getUploadFilename(FileData, int)
public String getUploadName(FileData fileData,
int index)
UploadPolicy
getUploadName in interface UploadPolicyfileData - The file data whose upload name must be calculated.index - index of the file in the current request to the server (from
0 to n)
UploadPolicy.getUploadName(FileData, int)public boolean isUploadReady()
UploadPolicy
isUploadReady in interface UploadPolicyUploadPolicy.isUploadReady()
public wjhk.jupload2.upload.helper.ByteArrayEncoder onAppendHeader(wjhk.jupload2.upload.helper.ByteArrayEncoder bae)
throws JUploadIOException
UploadPolicy
onAppendHeader in interface UploadPolicybae - The header ByteArrayEncoder where specific headers
should be appended.
ByteArrayEncoder given in parameters. This is allows
to work like with StringBuffer.append method:
sb.append(s1).append(s2);
JUploadIOExceptionUploadPolicy.onAppendHeader(ByteArrayEncoder)public void onFileSelected(FileData fileData)
UploadPolicy.onFileSelected(wjhk.jupload2.filedata.FileData).
Nothing's done.
onFileSelected in interface UploadPolicypublic void onFileDoubleClicked(FileData fileData)
UploadPolicy.onFileDoubleClicked(FileData).
Nothing's done.
onFileDoubleClicked in interface UploadPolicypublic void sendDebugInformation(String description)
UploadPolicyUploadPolicy.getUrlToSendErrorTo()). Then, it is possible to log the
error, to send a mail...
sendDebugInformation in interface UploadPolicydescription - A string describing briefly the problem. The mail subject
will be something like: Jupload Error (reason)UploadPolicy.sendDebugInformation(String)
public void setProperty(String prop,
String value)
throws JUploadException
setProperty in interface UploadPolicyprop - The applet parameter name.value - The new value for this parameter. If the value is not valid
(for instance aaa for a number), a warning is
displayed in the log window, and the existing value is not
changed.
JUploadException
JUploadExceptionStopAddingFiles - indicates that the applet
should stop strying adding the current file selection.
Useful for instance, when a user drop a directory, full of
unallowed file: it's annoying for the user to click 'Ok'
for each file in the alert box.UploadPolicy.setProperty(java.lang.String,
java.lang.String)public void displayParameterStatus()
setDebugLevel(int) method. It
should be override by any subclasses, that should display its own
parameters, then call super.displayParameterStatus().
displayParameterStatus in interface UploadPolicyUploadPolicy.displayParameterStatus()public String getAfterUploadURL()
UploadPolicy
getAfterUploadURL in interface UploadPolicyUploadPolicy.getAfterUploadURL()
protected void setAfterUploadURL(String afterUploadURL)
throws JUploadException
afterUploadURL
afterUploadURL - The URL to use.
JUploadExceptionpublic boolean getAllowHttpPersistent()
UploadPolicy
getAllowHttpPersistent in interface UploadPolicyUploadPolicy.getAllowHttpPersistent()public String getAllowedFileExtensions()
UploadPolicy
getAllowedFileExtensions in interface UploadPolicyUploadPolicy.getAllowedFileExtensions()protected void setAllowedFileExtensions(String allowedFileExtensions)
allowedFileExtensions - the allowedFileExtensions to setprotected void setAllowHttpPersistent(boolean value)
public JUploadApplet getApplet()
UploadPolicy
getApplet in interface UploadPolicyUploadPolicy.getApplet()public String getDateFormat()
UploadPolicy
getDateFormat in interface UploadPolicyUploadPolicy.getDateFormat()public int getDebugLevel()
UploadPolicy
getDebugLevel in interface UploadPolicyUploadPolicy.getDebugLevel()public void setDebugLevel(int debugLevel)
UploadPolicyDefaultUploadPolicy.addMsgToDebugBufferString method stores all
debug output in a BufferString.
setDebugLevel in interface UploadPolicydebugLevel - The new debugLevel.UploadPolicy.setDebugLevel(int)
public void setDebugLevel(int debugLevel,
boolean displayAppletParameterList)
debugLevel - The new debuglevel.displayAppletParameterList - Flag. If set to true, the applet's
parameters are shown.public int getFileChooserIconFromFileContent()
getFileChooserIconFromFileContent in interface UploadPolicyUploadPolicy.PROP_FILE_CHOOSER_ICON_FROM_FILE_CONTENTpublic void setFileChooserIconFromFileContent(int fileChooserIconFromFileContent)
fileChooserIconFromFileContent - Value to be set. If the value is
not allowed (not -1, 0 or 1), the current value is unchangeed.UploadPolicy.PROP_FILE_CHOOSER_ICON_FROM_FILE_CONTENTpublic int getFileChooserIconSize()
getFileChooserIconSize in interface UploadPolicyUploadPolicy.PROP_FILE_CHOOSER_ICON_SIZEpublic void setFileChooserIconSize(int fileChooserIconSize)
fileChooserIconSize - Value to be set.UploadPolicy.PROP_FILE_CHOOSER_ICON_SIZEprotected void setLang(String lang)
resourceBundle, which will allow the applet to display the
texts in the correct language.
lang - The new language to take into account. See the
java.util.Locale(String) constructor for a list of valid
values.protected void setLang2(String lang)
protected String getLookAndFeel()
protected void setLookAndFeel(String lookAndFeel)
lookAndFeel - the lookAndFeel to setpublic long getMaxChunkSize()
UploadPolicy
getMaxChunkSize in interface UploadPolicyUploadPolicy.getMaxChunkSize()protected void setMaxChunkSize(long maxChunkSize)
maxChunkSize - the maxChunkSize to setpublic long getMaxFileSize()
UploadPolicy
getMaxFileSize in interface UploadPolicyUploadPolicy.getMaxFileSize()protected void setMaxFileSize(long maxFileSize)
maxFileSize - the maxFileSize to setpublic int getNbFilesPerRequest()
UploadPolicy
getNbFilesPerRequest in interface UploadPolicyUploadPolicy.getNbFilesPerRequest()protected void setNbFilesPerRequest(int nbFilesPerRequest)
nbFilesPerRequest - the nbFilesPerRequest to setpublic String getFilenameEncoding()
UploadPolicy
getFilenameEncoding in interface UploadPolicyUploadPolicy.getFilenameEncoding()protected void setFilenameEncoding(String filenameEncoding)
filenameEncoding - the filenameEncoding to setpublic String getPostURL()
UploadPolicy
getPostURL in interface UploadPolicyUploadPolicy.getPostURL()
public void setPostURL(String postURL)
throws JUploadException
UploadPolicy
setPostURL in interface UploadPolicyJUploadExceptionUploadPolicy.setPostURL(String)public String getServerProtocol()
UploadPolicyCoppermineUploadPolicy, as the coppermine
control that the protocol used for each HTTP request is the same as the
one used during the session creation. It is used in the default policy,
as it could be used elsewhere.
getServerProtocol in interface UploadPolicyUploadPolicy.getServerProtocol()
protected void setServerProtocol(String value)
throws JUploadException
value - the serverProtocol to set
JUploadExceptionpublic boolean getShowLogWindow()
UploadPolicy
getShowLogWindow in interface UploadPolicyUploadPolicy.getShowLogWindow()protected void setShowLogWindow(boolean showLogWindow)
showLogWindow - the new showLogWindow valuepublic String getSpecificHeaders()
UploadPolicy
getSpecificHeaders in interface UploadPolicyUploadPolicy.getSpecificHeaders()protected void setSpecificHeaders(String specificHeaders)
specificHeaders - public int getSslVerifyCert()
UploadPolicy
getSslVerifyCert in interface UploadPolicyUploadPolicy.getSslVerifyCert()
protected void setSslVerifyCert(String mode)
throws JUploadException
JUploadExceptionprotected void setShowStatusbar(boolean show)
show - the new showStatusbar valuepublic String getStringUploadError()
UploadPolicy
getStringUploadError in interface UploadPolicyUploadPolicy.getStringUploadError()public String getStringUploadSuccess()
UploadPolicy
getStringUploadSuccess in interface UploadPolicyUploadPolicy.getStringUploadSuccess()
protected void setStringUploadError(String stringUploadError)
throws JUploadException
stringUploadError - the stringUploadError to set
JUploadException
protected void setStringUploadSuccess(String stringUploadSuccess)
throws JUploadException
stringUploadSuccess - the stringUploadSuccess to set
JUploadExceptionpublic String getUrlToSendErrorTo()
UploadPolicy
getUrlToSendErrorTo in interface UploadPolicyUploadPolicy.getUrlToSendErrorTo()
protected void setUrlToSendErrorTo(String urlToSendErrorTo)
throws JUploadException
urlToSendErrorTo - the urlToSendErrorTo to set
JUploadExceptionpublic String getFormdata()
UploadPolicy
getFormdata in interface UploadPolicyUploadPolicy.getFormdata()public String getAfterUploadTarget()
UploadPolicy
getAfterUploadTarget in interface UploadPolicyUploadPolicy.getAfterUploadTarget()public Cursor setWaitCursor()
UploadPolicy
setWaitCursor in interface UploadPolicyUploadPolicy.setWaitCursor()public void setCursor(Cursor cursor)
UploadPolicyUploadPolicy.setWaitCursor().
setCursor in interface UploadPolicycursor - The cursor that must be set.UploadPolicy.setCursor(Cursor)public void deleteLog()
public void afterFileDropped(DropTargetDropEvent dropEvent)
afterFileDropped in interface UploadPolicydropEvent - The event containing the dropped fileUploadPolicy.afterFileDropped(DropTargetDropEvent)public JUploadFileChooser createFileChooser()
UploadPolicy.createFileChooser():
just a creation of a JUploadFileChooser.
createFileChooser in interface UploadPolicyUploadPolicy.createFileChooser()public boolean fileFilterAccept(File file)
JUploadFileFilter.accept(File) which just calls this method. This
method checks that the file extension corresponds to the
allowedFileExtensions applet parameter.
fileFilterAccept in interface UploadPolicyfile - Allows the applet to filter files from the file chooser.
UploadPolicy.fileFilterAccept(File)public String fileFilterGetDescription()
UploadPolicy
fileFilterGetDescription in interface UploadPolicyUploadPolicy.fileFilterGetDescription()public Icon fileViewGetIcon(File file)
fileViewGetIcon in interface UploadPolicyfile - The file from which the icon should represent.
UploadPolicy.fileViewGetIcon(File)public String getLastResponseBody()
UploadPolicy
getLastResponseBody in interface UploadPolicyUploadPolicy.getLastResponseBody()public String getLastResponseMessage()
UploadPolicy
getLastResponseMessage in interface UploadPolicyUploadPolicy.getLastResponseMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||