@Deprecated
public class OfflineImporter
extends java.lang.Object
| Constructor and Description |
|---|
OfflineImporter(Node parent,
java.io.InputStream stream)
Deprecated.
|
OfflineImporter(Node parent,
RequestParameter rp)
Deprecated.
Creates an importer for importing the given Word document to the given
target node.
|
| Modifier and Type | Method and Description |
|---|---|
void |
importDocument()
Deprecated.
Imports the document to the given target node.
|
void |
setConfig(ValueMap config)
Deprecated.
|
void |
setFilename(java.lang.String filename)
Deprecated.
|
void |
setResourceType(java.lang.String resourceType)
Deprecated.
|
void |
setTemplate(java.lang.String template)
Deprecated.
|
public OfflineImporter(Node parent,
java.io.InputStream stream)
throws java.io.IOException,
TextImportException
parent - parent node under which the imported pages are createdstream - stream containing the Word documentjava.io.IOException - if the Word document could not be loadedTextImportException - if the document uses an unknown formatpublic OfflineImporter(Node parent,
RequestParameter rp)
throws java.io.IOException,
TextImportException
parent - parent node under which the imported pages are createdrp - sling request parameter containing the documentjava.io.IOException - if the Word document could not be loadedTextImportException - if the document uses an unknown formatpublic void setFilename(java.lang.String filename)
public void setResourceType(java.lang.String resourceType)
public void setTemplate(java.lang.String template)
public void importDocument()
throws RepositoryException
RepositoryException - if a repository error occurspublic void setConfig(ValueMap config)
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"