Package org.eclipse.emf.cdo.server
Class CDOServerImporter
- java.lang.Object
- 
- org.eclipse.emf.cdo.server.CDOServerImporter
 
- 
- Direct Known Subclasses:
- CDOServerImporter.Binary,- CDOServerImporter.XML
 
 public abstract class CDOServerImporter extends java.lang.ObjectImports the complete contents of arepositoryfrom the output created by aexporterinto a new repository.Subtypes specify the actual exchange format. - Since:
- 4.0
- Author:
- Eike Stepper
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classCDOServerImporter.BinaryAnimporterthat reads and interprets XML output created by anXML exporter.static interfaceCDOServerImporter.HandlerPersists the data that has been read by aimporterinto a newrepository.static interfaceCDOServerImporter.Handler2Persists the data that has been read by aimporterinto a newrepository.static classCDOServerImporter.XMLAnimporterthat reads and interprets XML output created by anXML exporter.
 - 
Constructor SummaryConstructors Constructor Description CDOServerImporter(IRepository repository)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBranchPath()protected InternalRepositorygetRepository()CDOServerExporter.StatisticsgetStatistics()longgetTimeStamp()protected abstract voidimportAll(java.io.InputStream in, CDOServerImporter.Handler handler)voidimportRepository(java.io.InputStream in)protected voidsetBranchPath(java.lang.String branchPath)protected voidsetTimeStamp(long timeStamp)
 
- 
- 
- 
Constructor Detail- 
CDOServerImporterpublic CDOServerImporter(IRepository repository) 
 
- 
 - 
Method Detail- 
getBranchPathpublic final java.lang.String getBranchPath() - Since:
- 4.8
 
 - 
setBranchPathprotected final void setBranchPath(java.lang.String branchPath) - Since:
- 4.8
 
 - 
getTimeStamppublic final long getTimeStamp() - Since:
- 4.8
 
 - 
setTimeStampprotected final void setTimeStamp(long timeStamp) - Since:
- 4.8
 
 - 
getRepositoryprotected final InternalRepository getRepository() 
 - 
getStatisticspublic CDOServerExporter.Statistics getStatistics() - Since:
- 4.8
 
 - 
importRepositorypublic void importRepository(java.io.InputStream in) throws java.lang.Exception- Throws:
- java.lang.Exception
 
 - 
importAllprotected abstract void importAll(java.io.InputStream in, CDOServerImporter.Handler handler) throws java.lang.Exception- Throws:
- java.lang.Exception
 
 
- 
 
-