public class MetadataImportHandler extends Object implements IPlatformImportHandler
Constructor and Description |
---|
MetadataImportHandler(List<org.pentaho.platform.api.mimetype.IMimeType> mimeTypes,
IPentahoMetadataDomainRepositoryImporter metadataImporter) |
Modifier and Type | Method and Description |
---|---|
List<org.pentaho.platform.api.mimetype.IMimeType> |
getMimeTypes() |
void |
importFile(org.pentaho.platform.api.repository2.unified.IPlatformImportBundle file)
Import the provided IPlatformImportBundle into the platform.
|
protected String |
processMetadataFile(org.pentaho.platform.api.repository2.unified.IPlatformImportBundle bundle)
Processes the file as a metadata file and returns the domain name.
|
public MetadataImportHandler(List<org.pentaho.platform.api.mimetype.IMimeType> mimeTypes, IPentahoMetadataDomainRepositoryImporter metadataImporter)
public void importFile(org.pentaho.platform.api.repository2.unified.IPlatformImportBundle file) throws PlatformImportException
IPlatformImportHandler
importFile
in interface IPlatformImportHandler
PlatformImportException
protected String processMetadataFile(org.pentaho.platform.api.repository2.unified.IPlatformImportBundle bundle) throws PlatformImportException
bundle
- PlatformImportException
public List<org.pentaho.platform.api.mimetype.IMimeType> getMimeTypes()
getMimeTypes
in interface IPlatformImportHandler
Copyright © 2020 Hitachi Vantara. All rights reserved.