Package org.eclipse.emf.cdo.server
Class CDOServerImporter
java.lang.Object
org.eclipse.emf.cdo.server.CDOServerImporter
- Direct Known Subclasses:
CDOServerImporter.Binary,CDOServerImporter.XML
Imports the complete contents of a
repository from the output created by a
exporter into a new repository.
Subtypes specify the actual exchange format.
- Since:
- 4.0
- Author:
- Eike Stepper
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAnimporterthat reads and interprets XML output created by anXML exporter.static interfacePersists the data that has been read by aimporterinto a newrepository.static interfacePersists the data that has been read by aimporterinto a newrepository.static classAnimporterthat reads and interprets XML output created by anXML exporter. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringprotected final InternalRepositoryfinal longprotected abstract voidimportAll(InputStream in, CDOServerImporter.Handler handler) voidprotected final voidsetBranchPath(String branchPath) protected final voidsetTimeStamp(long timeStamp)
-
Constructor Details
-
CDOServerImporter
-
-
Method Details
-
getBranchPath
- Since:
- 4.8
-
setBranchPath
- Since:
- 4.8
-
getTimeStamp
public final long getTimeStamp()- Since:
- 4.8
-
setTimeStamp
protected final void setTimeStamp(long timeStamp) - Since:
- 4.8
-
getRepository
-
getStatistics
- Since:
- 4.8
-
importRepository
- Throws:
Exception
-
importAll
protected abstract void importAll(InputStream in, CDOServerImporter.Handler handler) throws Exception - Throws:
Exception
-