public class PRPTImportHandler extends RepositoryFileImportFileHandler implements IPlatformImportHandler
Constructor and Description |
---|
PRPTImportHandler(List<IMimeType> mimeTypes) |
Modifier and Type | Method and Description |
---|---|
protected org.pentaho.reporting.libraries.docbundle.DocumentMetaData |
extractMetaData(byte[] bytes)
extract metadata from input bundle
|
void |
importFile(IPlatformImportBundle bundle)
Import the provided IPlatformImportBundle into the platform.
|
copyFileToRepository, createFile, createFolderJustInTime, getImportSession, getKnownExtensions, getLogger, getMimeTypeMap, getMimeTypes, getParentId, getRepository, getTitle, setDefaultAclHandler, setKnownExtensions, setRepository, updateFile
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMimeTypes
public void importFile(IPlatformImportBundle bundle) throws PlatformImportException
IPlatformImportHandler
importFile
in interface IPlatformImportHandler
importFile
in class RepositoryFileImportFileHandler
PlatformImportException
protected org.pentaho.reporting.libraries.docbundle.DocumentMetaData extractMetaData(byte[] bytes) throws PlatformImportException
bytes
- PlatformImportException
- if we are failed to create metadata from input dataCopyright © 2002–2017 Pentaho Corporation. All rights reserved.