org.alfresco.service.cmr.view
Interface ImportPackageHandler

All Known Implementing Classes:
ACPImportPackageHandler, FileImportPackageHandler

public interface ImportPackageHandler

Contract for a custom import package handler.


Method Summary
 void endImport()
          End the Import
 java.io.Reader getDataStream()
          Get the package data stream
 java.io.InputStream importStream(java.lang.String content)
          Call-back for handling the import of content stream.
 void startImport()
          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



Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.