Class Exporter
- java.lang.Object
-
- org.pentaho.platform.plugin.services.importexport.Exporter
-
public class Exporter extends Object
- Author:
- wseyler
-
-
Field Summary
Fields Modifier and Type Field Description protected org.pentaho.platform.repository2.unified.webservices.DefaultUnifiedRepositoryWebService
repoWs
-
Constructor Summary
Constructors Constructor Description Exporter(org.pentaho.platform.api.repository2.unified.IUnifiedRepository unifiedRepository)
Exporter(org.pentaho.platform.api.repository2.unified.IUnifiedRepository unifiedRepository, String path)
Exporter(org.pentaho.platform.api.repository2.unified.IUnifiedRepository unifiedRepository, String path, String filePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doExport()
File
doExportAsZip()
File
doExportAsZip(org.pentaho.platform.api.repository2.unified.RepositoryFile exportRepositoryFile)
void
exportDirectory(org.pentaho.platform.api.repository2.unified.RepositoryFile repositoryDir, File parentDir)
void
exportFile(org.pentaho.platform.api.repository2.unified.RepositoryFile exportRepositoryFile, File exportDirectory)
String
getFilePath()
String
getRepoPath()
org.pentaho.platform.repository2.unified.webservices.DefaultUnifiedRepositoryWebService
getRepoWs()
org.pentaho.platform.api.repository2.unified.IUnifiedRepository
getUnifiedRepository()
void
setFilePath(String filePath)
void
setRepoPath(String repoPath)
void
setRepoWs(org.pentaho.platform.repository2.unified.webservices.DefaultUnifiedRepositoryWebService repoWs)
void
setUnifiedRepository(org.pentaho.platform.api.repository2.unified.IUnifiedRepository unifiedRepository)
-
-
-
Constructor Detail
-
Exporter
public Exporter(org.pentaho.platform.api.repository2.unified.IUnifiedRepository unifiedRepository)
- Parameters:
unifiedRepository
-
-
Exporter
public Exporter(org.pentaho.platform.api.repository2.unified.IUnifiedRepository unifiedRepository, String path)
- Parameters:
unifiedRepository
-
-
-
Method Detail
-
doExport
public void doExport() throws IOException
- Throws:
IOException
-
doExportAsZip
public File doExportAsZip() throws IOException
- Returns:
- Throws:
IOException
-
doExportAsZip
public File doExportAsZip(org.pentaho.platform.api.repository2.unified.RepositoryFile exportRepositoryFile) throws IOException
- Parameters:
exportRepositoryFile
-- Returns:
- Throws:
IOException
-
exportDirectory
public void exportDirectory(org.pentaho.platform.api.repository2.unified.RepositoryFile repositoryDir, File parentDir) throws IOException
- Parameters:
repositoryDir
-parentDir
-- Throws:
IOException
-
exportFile
public void exportFile(org.pentaho.platform.api.repository2.unified.RepositoryFile exportRepositoryFile, File exportDirectory) throws IOException
- Parameters:
exportRepositoryFile
-exportDirectory
-- Throws:
IOException
-
getUnifiedRepository
public org.pentaho.platform.api.repository2.unified.IUnifiedRepository getUnifiedRepository()
- Returns:
-
setUnifiedRepository
public void setUnifiedRepository(org.pentaho.platform.api.repository2.unified.IUnifiedRepository unifiedRepository)
- Parameters:
unifiedRepository
-
-
getRepoPath
public String getRepoPath()
- Returns:
-
setRepoPath
public void setRepoPath(String repoPath)
- Parameters:
repoPath
-
-
getFilePath
public String getFilePath()
- Returns:
-
setFilePath
public void setFilePath(String filePath)
- Parameters:
filePath
-
-
getRepoWs
public org.pentaho.platform.repository2.unified.webservices.DefaultUnifiedRepositoryWebService getRepoWs()
- Returns:
-
setRepoWs
public void setRepoWs(org.pentaho.platform.repository2.unified.webservices.DefaultUnifiedRepositoryWebService repoWs)
- Parameters:
repoWs
-
-
-