public abstract class BaseImportLoader extends JcrXmlImporter
| Modifier and Type | Field and Description |
|---|---|
static String |
EXT_JCR_XML |
| Constructor and Description |
|---|
BaseImportLoader() |
BaseImportLoader(ContentReaderWhiteboard contentReaderWhiteboard) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bindContentReaderWhiteboard(ContentReaderWhiteboard service) |
ContentReader |
getContentReader(String name,
ImportOptions importOptions) |
ContentReader |
getContentReader(String name,
PathEntry configuration)
Return the content reader for the name
|
protected String |
getContentReaderExtension(String name)
Get the extension of the file name.
|
Map<String,ContentReader> |
getContentReaders() |
protected String |
toPlainName(String name,
String contentReaderExtension) |
protected void |
unbindContentReaderWhiteboard(ContentReaderWhiteboard service) |
importJcrXmlpublic static final String EXT_JCR_XML
public BaseImportLoader()
public BaseImportLoader(ContentReaderWhiteboard contentReaderWhiteboard)
protected void bindContentReaderWhiteboard(ContentReaderWhiteboard service)
protected void unbindContentReaderWhiteboard(ContentReaderWhiteboard service)
public Map<String,ContentReader> getContentReaders()
protected String getContentReaderExtension(String name)
name - The file name.nullpublic ContentReader getContentReader(String name, PathEntry configuration)
name - The file name.nullpublic ContentReader getContentReader(String name, ImportOptions importOptions)
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.