public class FormDataReader extends Object implements FormatReader<FormData>
| Constructor and Description |
|---|
FormDataReader() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
createScriptParameters(WebScriptRequest req,
WebScriptResponse res)
Create script parameters specific to source mimetype
|
Class<FormData> |
getDestinationClass()
Gets the Java Class to convert to
|
String |
getSourceMimetype()
Gets the source mimetype to convert from
|
FormData |
read(WebScriptRequest req)
Converts mimetype to Java Object
|
public String getSourceMimetype()
FormatReadergetSourceMimetype in interface FormatReader<FormData>public Class<FormData> getDestinationClass()
FormatReadergetDestinationClass in interface FormatReader<FormData>public FormData read(WebScriptRequest req)
FormatReaderread in interface FormatReader<FormData>req - web script requestpublic Map<String,Object> createScriptParameters(WebScriptRequest req, WebScriptResponse res)
FormatReadercreateScriptParameters in interface FormatReader<FormData>req - web script requestres - web script responseCopyright © 2005–2015 Alfresco Software. All rights reserved.