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