Class ImportProjectCommand
java.lang.Object
com.google.refine.commands.Command
com.google.refine.commands.project.ImportProjectCommand
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.refine.commands.Command
Command.HistoryEntryResponse -
Field Summary
Fields inherited from class com.google.refine.commands.Command
csrfFactory, servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) protected voidinternalImport(javax.servlet.http.HttpServletRequest request, Properties options, long projectID) protected voidinternalImportURL(long projectID, String urlString) Methods inherited from class com.google.refine.commands.Command
doDelete, doGet, doHead, doPut, getEngine, getEngineConfig, getIntegerParameter, getProject, getProjectMetadata, hasValidCSRFToken, hasValidCSRFTokenAsGET, init, logRequests, performProcessAndRespond, redirect, respond, respond, respondCSRFError, respondException, respondJSON, respondJSON, respondWithErrorPage
-
Constructor Details
-
ImportProjectCommand
public ImportProjectCommand()
-
-
Method Details
-
doPost
public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException - Overrides:
doPostin classCommand- Throws:
javax.servlet.ServletExceptionIOException
-
internalImport
protected void internalImport(javax.servlet.http.HttpServletRequest request, Properties options, long projectID) throws Exception - Throws:
Exception
-
internalImportURL
- Throws:
Exception
-