org.melati.servlet
Class PoemFileDataAdaptorFactory

java.lang.Object
  extended by org.melati.servlet.FormDataAdaptorFactory
      extended by org.melati.servlet.PoemFileDataAdaptorFactory

public class PoemFileDataAdaptorFactory
extends FormDataAdaptorFactory

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.


Constructor Summary
PoemFileDataAdaptorFactory()
           
 
Method Summary
 FormDataAdaptor getIt(Melati melati, MultipartFormField field)
          Get the defaulted parameters for the adaptor from the database and create it.
 
Methods inherited from class org.melati.servlet.FormDataAdaptorFactory
get
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PoemFileDataAdaptorFactory

public PoemFileDataAdaptorFactory()
Method Detail

getIt

public FormDataAdaptor getIt(Melati melati,
                             MultipartFormField field)
Get the defaulted parameters for the adaptor from the database and create it.

Specified by:
getIt in class FormDataAdaptorFactory
Parameters:
melati - the Melati
field - a MultipartFormField
Returns:
a FormDataAdaptor


Copyright © 2000-2008 PanEris. All Rights Reserved.