org.molgenis.omx.controller
Class CbmToOmxConverterController

java.lang.Object
  extended by org.molgenis.framework.ui.MolgenisPlugin
      extended by org.molgenis.omx.controller.CbmToOmxConverterController

@Controller
@RequestMapping(value="/plugin/cbmtoomxconverter")
public class CbmToOmxConverterController
extends MolgenisPlugin

Controller that handles home page requests


Field Summary
static String URI
           
 
Fields inherited from class org.molgenis.framework.ui.MolgenisPlugin
PLUGIN_URI_PREFIX
 
Constructor Summary
CbmToOmxConverterController()
           
 
Method Summary
 void convert(javax.servlet.http.Part upload, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 List<String> getListFiles()
           
 File getOutputDir()
           
 String init(org.springframework.ui.Model model)
           
 
Methods inherited from class org.molgenis.framework.ui.MolgenisPlugin
getId, getUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URI

public static final String URI
See Also:
Constant Field Values
Constructor Detail

CbmToOmxConverterController

public CbmToOmxConverterController()
Method Detail

init

@RequestMapping(method=GET)
public String init(org.springframework.ui.Model model)

convert

@RequestMapping(value="/convert",
                method=POST,
                headers="Content-Type=multipart/form-data")
public void convert(@RequestParam
                                   javax.servlet.http.Part upload,
                                   javax.servlet.http.HttpServletRequest request,
                                   javax.servlet.http.HttpServletResponse response)
             throws Exception
Throws:
Exception

getOutputDir

public File getOutputDir()

getListFiles

public List<String> getListFiles()


Copyright © 2013. All Rights Reserved.