public abstract class CDOServerImporter extends Object
repository
from the output created by a
exporter
into a new repository.
Subtypes specifiy the actual exchange format.
Modifier and Type | Class and Description |
---|---|
static interface |
CDOServerImporter.Handler
Persists the data that has been read by a
importer into a new repository . |
static class |
CDOServerImporter.XML
An
importer that reads and interprets XML output created by an
XML exporter . |
Constructor and Description |
---|
CDOServerImporter(IRepository repository) |
Modifier and Type | Method and Description |
---|---|
protected InternalRepository |
getRepository() |
protected abstract void |
importAll(InputStream in,
CDOServerImporter.Handler handler) |
void |
importRepository(InputStream in) |
public CDOServerImporter(IRepository repository)
protected final InternalRepository getRepository()
public void importRepository(InputStream in) throws Exception
Exception
protected abstract void importAll(InputStream in, CDOServerImporter.Handler handler) throws Exception
Exception
Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.