public class SiteImportPackageHandler extends Object implements ImportPackageHandler
Constructor and Description |
---|
SiteImportPackageHandler(SiteSurfConfig config,
String siteId) |
Modifier and Type | Method and Description |
---|---|
void |
endImport()
End the Import
|
Reader |
getDataStream()
Get the package data stream
|
InputStream |
importStream(String contentPath)
Call-back for handling the import of content stream.
|
void |
startImport()
Start the Import
|
public SiteImportPackageHandler(SiteSurfConfig config, String siteId)
public void startImport()
ImportPackageHandler
startImport
in interface ImportPackageHandler
public Reader getDataStream()
ImportPackageHandler
getDataStream
in interface ImportPackageHandler
public InputStream importStream(String contentPath)
ImportPackageHandler
importStream
in interface ImportPackageHandler
contentPath
- content descriptorpublic void endImport()
ImportPackageHandler
endImport
in interface ImportPackageHandler
Copyright © 2005–2017 Alfresco Software. All rights reserved.