Package org.eclipse.emf.cdo.transfer
Class CDOTransferSystem
java.lang.Object
org.eclipse.emf.cdo.transfer.CDOTransferSystem
- Direct Known Subclasses:
FileSystemTransferSystem
,RepositoryTransferSystem
,WorkspaceTransferSystem
An abstraction of an end point system of a
transfer
.
It's used for example in CDOTransfer.getSourceSystem()
and CDOTransfer.getTargetSystem()
.
The arguments of the map() methods in CDOTransfer
are treated as paths
relative to the source transfer system.
The targets
of the created mappings are determined by paths relative to the target transfer system.
- Since:
- 4.2
- Author:
- Eike Stepper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
createBinary
(IPath path, InputStream source, IProgressMonitor monitor) abstract void
createFolder
(IPath path) createModel
(ResourceSet resourceSet, IPath path) abstract void
createText
(IPath path, InputStream source, String encoding, IProgressMonitor monitor) getDefaultTransferType
(CDOTransferElement element) getElement
(String path) abstract CDOTransferElement
getElement
(IPath path) abstract CDOTransferElement
getElement
(URI uri) abstract String
getType()
abstract URI
boolean
protected ResourceSet
void
saveModels
(EList<Resource> resources, IProgressMonitor monitor)
-
Constructor Details
-
CDOTransferSystem
protected CDOTransferSystem(boolean readOnly)
-
-
Method Details
-
getType
-
provideResourceSet
-
isReadOnly
public boolean isReadOnly() -
getDefaultTransferType
-
getURI
-
getElement
-
getElement
-
getElement
-
createFolder
-
createModel
-
createBinary
-
createText
public abstract void createText(IPath path, InputStream source, String encoding, IProgressMonitor monitor) -
saveModels
-