public abstract class CDOServerImporter
extends java.lang.Object
repository
from the output created by a
exporter
into a new repository.
Subtypes specify the actual exchange format.
Modifier and Type | Class and Description |
---|---|
static class |
CDOServerImporter.Binary
An
importer that reads and interprets XML output created by an
XML exporter . |
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 |
---|---|
java.lang.String |
getBranchPath() |
protected InternalRepository |
getRepository() |
CDOServerExporter.Statistics |
getStatistics() |
long |
getTimeStamp() |
protected abstract void |
importAll(java.io.InputStream in,
CDOServerImporter.Handler handler) |
void |
importRepository(java.io.InputStream in) |
protected void |
setBranchPath(java.lang.String branchPath) |
protected void |
setTimeStamp(long timeStamp) |
public CDOServerImporter(IRepository repository)
public final java.lang.String getBranchPath()
protected final void setBranchPath(java.lang.String branchPath)
public final long getTimeStamp()
protected final void setTimeStamp(long timeStamp)
protected final InternalRepository getRepository()
public CDOServerExporter.Statistics getStatistics()
public void importRepository(java.io.InputStream in) throws java.lang.Exception
java.lang.Exception
protected abstract void importAll(java.io.InputStream in, CDOServerImporter.Handler handler) throws java.lang.Exception
java.lang.Exception
Copyright (c) 2004-2019 Eike Stepper (Loehne, 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