|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentImporter
The ContentImporter
service
This interface is not intended to be implemented by bundles. It is implemented by this bundle and may be used by client bundles.
Method Summary | |
---|---|
void |
importContent(javax.jcr.Node parent,
String name,
InputStream contentStream,
ImportOptions importOptions,
ContentImportListener importListener)
Import content into the repository by parsing the provided content stream. |
Method Detail |
---|
void importContent(javax.jcr.Node parent, String name, InputStream contentStream, ImportOptions importOptions, ContentImportListener importListener) throws javax.jcr.RepositoryException, IOException
parent
- the root node for the imported contentname
- the name of the imported content. The file extension determines the content typecontentStream
- the content stream to be importedimportOptions
- (optional) additional options to control the importimportListener
- (optional) listener to receive callbacks for each change in the import
javax.jcr.RepositoryException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |