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 Summary
Nested 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 Summary
Constructors Constructor Description CDOServerImporter(IRepository repository)
-
Method Summary
All 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
-
CDOServerImporter
public CDOServerImporter(IRepository repository)
-
-
Method Detail
-
getBranchPath
public final java.lang.String getBranchPath()
- Since:
- 4.8
-
setBranchPath
protected final void setBranchPath(java.lang.String branchPath)
- Since:
- 4.8
-
getTimeStamp
public final long getTimeStamp()
- Since:
- 4.8
-
setTimeStamp
protected final void setTimeStamp(long timeStamp)
- Since:
- 4.8
-
getRepository
protected final InternalRepository getRepository()
-
getStatistics
public CDOServerExporter.Statistics getStatistics()
- Since:
- 4.8
-
importRepository
public void importRepository(java.io.InputStream in) throws java.lang.Exception- Throws:
java.lang.Exception
-
importAll
protected abstract void importAll(java.io.InputStream in, CDOServerImporter.Handler handler) throws java.lang.Exception- Throws:
java.lang.Exception
-
-