Package org.alfresco.service.cmr.view
Interface ImportPackageHandler
-
- All Known Implementing Classes:
ACPImportPackageHandler,FileImportPackageHandler
public interface ImportPackageHandlerContract for a custom import package handler.- Author:
- David Caruana
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidendImport()End the Importjava.io.ReadergetDataStream()Get the package data streamjava.io.InputStreamimportStream(java.lang.String content)Call-back for handling the import of content stream.voidstartImport()Start the Import
-
-
-
Method Detail
-
startImport
void startImport()
Start the Import
-
getDataStream
java.io.Reader getDataStream()
Get the package data stream- Returns:
- the reader
-
importStream
java.io.InputStream importStream(java.lang.String content)
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
-
-