Class DatabaseImportController
- java.lang.Object
-
- org.openrefine.extension.database.DatabaseImportController
-
- All Implemented Interfaces:
HttpResponder
,ImportingController
public class DatabaseImportController extends Object implements ImportingController
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_PREVIEW_LIMIT
static String
OPTIONS_KEY
protected RefineServlet
servlet
protected TabularParserHelper
tabularParserHelper
-
Constructor Summary
Constructors Constructor Description DatabaseImportController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
void
doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
void
init(RefineServlet servlet)
-
-
-
Field Detail
-
servlet
protected RefineServlet servlet
-
tabularParserHelper
protected TabularParserHelper tabularParserHelper
-
DEFAULT_PREVIEW_LIMIT
public static int DEFAULT_PREVIEW_LIMIT
-
OPTIONS_KEY
public static String OPTIONS_KEY
-
-
Method Detail
-
init
public void init(RefineServlet servlet)
- Specified by:
init
in interfaceHttpResponder
-
doGet
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
- Specified by:
doGet
in interfaceHttpResponder
- Throws:
javax.servlet.ServletException
IOException
-
doPost
public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
- Specified by:
doPost
in interfaceHttpResponder
- Throws:
javax.servlet.ServletException
IOException
-
-