Package org.eclipse.emf.cdo.server
Class CDOServerExporter<OUT>
- java.lang.Object
- 
- org.eclipse.emf.cdo.server.CDOServerExporter<OUT>
 
- 
- Direct Known Subclasses:
- CDOServerExporter.Binary,- CDOServerExporter.XML
 
 public abstract class CDOServerExporter<OUT> extends java.lang.ObjectExports the complete contents of arepositoryin a format suitable forimportsinto new repositories.Subtypes specify the actual exchange format. - Since:
- 4.0
- Author:
- Eike Stepper
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classCDOServerExporter.Binarystatic interfaceCDOServerExporter.BinaryConstantsstatic classCDOServerExporter.Statisticsstatic classCDOServerExporter.XMLAnexporterthat creates XML output suitable to be interpreted by anXML importer.static interfaceCDOServerExporter.XMLConstants
 - 
Constructor SummaryConstructors Constructor Description CDOServerExporter(IRepository repository)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract OUTcreateOutput(java.io.OutputStream out)protected abstract voidendPackageUnit(OUT out)protected voidexportAll(OUT out)protected voidexportBranch(OUT out, CDOBranch branch)protected voidexportBranches(OUT out)protected abstract voidexportCommit(OUT out, CDOCommitInfo commitInfo)protected voidexportCommits(OUT out)protected voidexportLobs(OUT out)protected abstract voidexportPackageInfo(OUT out, java.lang.String packageURI)protected voidexportPackages(OUT out)voidexportRepository(java.io.OutputStream out)protected abstract voidexportRevision(OUT out, CDORevision revision)protected voidexportRevisions(OUT out, CDOBranch branch)java.lang.StringgetBranchPath()IRepositorygetRepository()CDOServerExporter.StatisticsgetStatistics()longgetTimeStamp()booleanisExportSystemPackages()voidsetBranchPath(java.lang.String branchPath)voidsetExportSystemPackages(boolean exportSystemPackages)voidsetTimeStamp(long timeStamp)protected abstract java.io.OutputStreamstartBlob(OUT out, byte[] id, long size)protected abstract java.io.WriterstartClob(OUT out, byte[] id, long size)protected abstract voidstartPackageUnit(OUT out, java.lang.String id, CDOPackageUnit.Type type, long time, java.lang.String data)
 
- 
- 
- 
Constructor Detail- 
CDOServerExporterpublic CDOServerExporter(IRepository repository) 
 
- 
 - 
Method Detail- 
getRepositorypublic final IRepository getRepository() 
 - 
getStatisticspublic CDOServerExporter.Statistics getStatistics() - Since:
- 4.8
 
 - 
isExportSystemPackagespublic boolean isExportSystemPackages() - Since:
- 4.7
 
 - 
setExportSystemPackagespublic void setExportSystemPackages(boolean exportSystemPackages) - Since:
- 4.7
 
 - 
getBranchPathpublic java.lang.String getBranchPath() - Since:
- 4.8
 
 - 
setBranchPathpublic void setBranchPath(java.lang.String branchPath) - Since:
- 4.8
 
 - 
getTimeStamppublic long getTimeStamp() - Since:
- 4.8
 
 - 
setTimeStamppublic void setTimeStamp(long timeStamp) - Since:
- 4.8
 
 - 
exportRepositorypublic final void exportRepository(java.io.OutputStream out) throws java.lang.Exception- Throws:
- java.lang.Exception
 
 - 
createOutputprotected abstract OUT createOutput(java.io.OutputStream out) throws java.lang.Exception - Throws:
- java.lang.Exception
 
 - 
exportAllprotected void exportAll(OUT out) throws java.lang.Exception - Throws:
- java.lang.Exception
 
 - 
exportPackagesprotected void exportPackages(OUT out) throws java.lang.Exception - Throws:
- java.lang.Exception
 
 - 
startPackageUnitprotected abstract void startPackageUnit(OUT out, java.lang.String id, CDOPackageUnit.Type type, long time, java.lang.String data) throws java.lang.Exception - Throws:
- java.lang.Exception
 
 - 
endPackageUnitprotected abstract void endPackageUnit(OUT out) throws java.lang.Exception - Throws:
- java.lang.Exception
 
 - 
exportPackageInfoprotected abstract void exportPackageInfo(OUT out, java.lang.String packageURI) throws java.lang.Exception - Throws:
- java.lang.Exception
 
 - 
exportBranchesprotected void exportBranches(OUT out) throws java.lang.Exception - Throws:
- java.lang.Exception
 
 - 
exportBranchprotected void exportBranch(OUT out, CDOBranch branch) throws java.lang.Exception - Throws:
- java.lang.Exception
 
 - 
exportRevisionsprotected void exportRevisions(OUT out, CDOBranch branch) throws java.lang.Exception - Throws:
- java.lang.Exception
 
 - 
exportRevisionprotected abstract void exportRevision(OUT out, CDORevision revision) throws java.lang.Exception - Throws:
- java.lang.Exception
 
 - 
exportLobsprotected void exportLobs(OUT out) throws java.lang.Exception - Throws:
- java.lang.Exception
 
 - 
startBlobprotected abstract java.io.OutputStream startBlob(OUT out, byte[] id, long size) throws java.lang.Exception - Throws:
- java.lang.Exception
 
 - 
startClobprotected abstract java.io.Writer startClob(OUT out, byte[] id, long size) throws java.lang.Exception - Throws:
- java.lang.Exception
 
 - 
exportCommitsprotected void exportCommits(OUT out) throws java.lang.Exception - Throws:
- java.lang.Exception
 
 - 
exportCommitprotected abstract void exportCommit(OUT out, CDOCommitInfo commitInfo) throws java.lang.Exception - Throws:
- java.lang.Exception
 
 
- 
 
-