public abstract class BaseImportLoader extends JcrXmlImporter
Modifier and Type | Field and Description |
---|---|
protected ContentReaderWhiteboard |
contentReaderWhiteboard |
static String |
EXT_JCR_XML |
Constructor and Description |
---|
BaseImportLoader() |
BaseImportLoader(ContentReaderWhiteboard contentReaderWhiteboard) |
Modifier and Type | Method and Description |
---|---|
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) |
importJcrXml
public static final String EXT_JCR_XML
protected ContentReaderWhiteboard contentReaderWhiteboard
public BaseImportLoader()
public BaseImportLoader(ContentReaderWhiteboard contentReaderWhiteboard)
public Map<String,ContentReader> getContentReaders()
protected String getContentReaderExtension(String name)
name
- The file name.null
public ContentReader getContentReader(String name, PathEntry configuration)
name
- The file name.null
public ContentReader getContentReader(String name, ImportOptions importOptions)
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.