org.eclipse.emf.codegen.jmerge
Class PropertyMerger
java.lang.Object
|
+--org.eclipse.emf.codegen.jmerge.PropertyMerger
- All Implemented Interfaces:
- org.eclipse.core.boot.IPlatformRunnable
- public class PropertyMerger
- extends java.lang.Object
- implements org.eclipse.core.boot.IPlatformRunnable
This implements the method run(java.lang.Object)
,
which is called just like main during headless workbench invocation.
Fields inherited from interface org.eclipse.core.boot.IPlatformRunnable |
EXIT_OK, EXIT_RESTART |
Constructor Summary |
PropertyMerger()
This creates an empty instances, when used as a runnable. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sourceProperties
protected java.lang.String sourceProperties
targetProperties
protected java.lang.String targetProperties
sourceToTargetMap
protected java.util.Map sourceToTargetMap
targetToSourceMap
protected java.util.Map targetToSourceMap
propertyLine
protected static org.apache.xerces.impl.xpath.regex.RegularExpression propertyLine
PropertyMerger
public PropertyMerger()
- This creates an empty instances, when used as a runnable.
getSourceProperties
public java.lang.String getSourceProperties()
setSourceProperties
public void setSourceProperties(java.lang.String sourceProperties)
getTargetProperties
public java.lang.String getTargetProperties()
setTargetProperties
public void setTargetProperties(java.lang.String targetProperties)
getSourceToTargetMap
public java.util.Map getSourceToTargetMap()
createPropertiesForURI
public java.lang.String createPropertiesForURI(java.lang.String uri)
- Create a JDOM from a URI.
createPropertiesForInputStream
public java.lang.String createPropertiesForInputStream(java.io.InputStream inputStream)
merge
public void merge()
parse
public java.util.Map parse(java.lang.String properties)
run
public java.lang.Object run(java.lang.Object object)
- This is called with the command line arguments of a headless workbench invocation.
- Specified by:
run
in interface org.eclipse.core.boot.IPlatformRunnable