public class Exporter extends Object
Modifier and Type | Field and Description |
---|---|
protected DefaultUnifiedRepositoryWebService |
repoWs |
Constructor and Description |
---|
Exporter(IUnifiedRepository unifiedRepository) |
Exporter(IUnifiedRepository unifiedRepository,
String path) |
Exporter(IUnifiedRepository unifiedRepository,
String path,
String filePath) |
Modifier and Type | Method and Description |
---|---|
void |
doExport() |
File |
doExportAsZip() |
File |
doExportAsZip(RepositoryFile exportRepositoryFile) |
void |
exportDirectory(RepositoryFile repositoryDir,
File parentDir) |
void |
exportFile(RepositoryFile exportRepositoryFile,
File exportDirectory) |
String |
getFilePath() |
String |
getRepoPath() |
DefaultUnifiedRepositoryWebService |
getRepoWs() |
IUnifiedRepository |
getUnifiedRepository() |
void |
setFilePath(String filePath) |
void |
setRepoPath(String repoPath) |
void |
setRepoWs(DefaultUnifiedRepositoryWebService repoWs) |
void |
setUnifiedRepository(IUnifiedRepository unifiedRepository) |
protected DefaultUnifiedRepositoryWebService repoWs
public Exporter(IUnifiedRepository unifiedRepository)
unifiedRepository
- public Exporter(IUnifiedRepository unifiedRepository, String path)
unifiedRepository
- public Exporter(IUnifiedRepository unifiedRepository, String path, String filePath)
unifiedRepository
- path
- (repo)filePath
- public void doExport() throws IOException
IOException
public File doExportAsZip() throws IOException
IOException
public File doExportAsZip(RepositoryFile exportRepositoryFile) throws IOException
exportRepositoryFile
- IOException
public void exportDirectory(RepositoryFile repositoryDir, File parentDir) throws IOException
repositoryDir
- parentDir
- IOException
public void exportFile(RepositoryFile exportRepositoryFile, File exportDirectory) throws IOException
exportRepositoryFile
- exportDirectory
- IOException
public IUnifiedRepository getUnifiedRepository()
public void setUnifiedRepository(IUnifiedRepository unifiedRepository)
unifiedRepository
- public String getRepoPath()
public void setRepoPath(String repoPath)
repoPath
- public String getFilePath()
public void setFilePath(String filePath)
filePath
- public DefaultUnifiedRepositoryWebService getRepoWs()
public void setRepoWs(DefaultUnifiedRepositoryWebService repoWs)
repoWs
- Copyright © 2002–2017 Pentaho Corporation. All rights reserved.