public abstract class CDOServerImporter extends Object
repository
from the output created by a
exporter
into a new repository.
Subtypes specifiy the actual exchange format.
CDOServerImporter.Handler
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 interface |
CDOServerImporter.Handler2
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) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html