Package org.alfresco.service.cmr.view
Interface ImportPackageHandler
- All Known Implementing Classes:
ACPImportPackageHandler,FileImportPackageHandler
public interface ImportPackageHandler
Contract for a custom import package handler.
- Author:
- David Caruana
-
Method Summary
Modifier and TypeMethodDescriptionvoidEnd the ImportGet the package data streamimportStream(String content) Call-back for handling the import of content stream.voidStart the Import
-
Method Details
-
startImport
void startImport()Start the Import -
getDataStream
Reader getDataStream()Get the package data stream- Returns:
- the reader
-
importStream
Call-back for handling the import of content stream.- Parameters:
content- content descriptor- Returns:
- the input stream onto the content
-
endImport
void endImport()End the Import
-