org.melati.servlet
Class PoemFileFormDataAdaptorFactory
java.lang.Object
org.melati.servlet.FormDataAdaptorFactory
org.melati.servlet.DefaultFileFormDataAdaptorFactory
org.melati.servlet.PoemFileFormDataAdaptorFactory
public class PoemFileFormDataAdaptorFactory
- extends DefaultFileFormDataAdaptorFactory
Save the uploaded file to disk in a particular directory which has a
particular URL.
We get these values from the values of UploadDir
and
UploadURL
in the Setting table of the current Database.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PoemFileFormDataAdaptorFactory
public PoemFileFormDataAdaptorFactory()
getIt
public FormDataAdaptor getIt(Melati melati,
MultipartFormField field)
- Get the defaulted parameters for the adaptor from the database and create
it.
- Overrides:
getIt
in class DefaultFileFormDataAdaptorFactory
- Parameters:
melati
- the Melati
field
- a MultipartFormField
- Returns:
- a
FormDataAdaptor
Copyright © 2000-2010 PanEris. All Rights Reserved.