public class SimpleExportProcessor extends BaseExportProcessor
EXPORT_INFO_DATE_FORMAT, EXPORT_INFO_TIME_FORMAT, EXPORT_MANIFEST_FILENAME, EXPORT_TEMP_FILENAME_EXT, EXPORT_TEMP_FILENAME_PREFIX, LOCALE_EXT
Constructor and Description |
---|
SimpleExportProcessor(String path,
org.pentaho.platform.api.repository2.unified.IUnifiedRepository repository)
Encapsulates the logic of registering import handlers, generating the manifest, and performing the export
|
Modifier and Type | Method and Description |
---|---|
void |
exportDirectory(org.pentaho.platform.api.repository2.unified.RepositoryFile repositoryDir,
OutputStream outputStream,
String filePath) |
void |
exportFile(org.pentaho.platform.api.repository2.unified.RepositoryFile repositoryFile,
OutputStream outputStream,
String filePath) |
File |
performExport(org.pentaho.platform.api.repository2.unified.RepositoryFile exportRepositoryFile)
Performs the export process, returns a File object
|
addExportHandler, getPath, getUnifiedRepository, setPath, setUnifiedRepository
public SimpleExportProcessor(String path, org.pentaho.platform.api.repository2.unified.IUnifiedRepository repository)
public File performExport(org.pentaho.platform.api.repository2.unified.RepositoryFile exportRepositoryFile) throws ExportException, IOException
performExport
in class BaseExportProcessor
ExportException
- indicates an error in import processingIOException
public void exportDirectory(org.pentaho.platform.api.repository2.unified.RepositoryFile repositoryDir, OutputStream outputStream, String filePath) throws ExportException, IOException
exportDirectory
in class BaseExportProcessor
repositoryDir
- outputStream
- ExportException
IOException
public void exportFile(org.pentaho.platform.api.repository2.unified.RepositoryFile repositoryFile, OutputStream outputStream, String filePath) throws ExportException, IOException
exportFile
in class BaseExportProcessor
repositoryFile
- outputStream
- ExportException
IOException
Copyright © 2019 Hitachi Vantara. All rights reserved.