Overview

 
Package  Use  Tree  Deprecated  Index  Help 
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD


 

org.eclipse.emf.codegen.jmerge
Class PropertyMerger

java.lang.Object
  extended byorg.eclipse.emf.codegen.jmerge.PropertyMerger

All Implemented Interfaces:
IPlatformRunnable


public class PropertyMerger
extends Object
implements IPlatformRunnable

This implements the method run(java.lang.Object), which is called just like main during headless workbench invocation.


Field Summary
protected static Pattern propertyLine
           
protected  String sourceProperties
           
protected  Map sourceToTargetMap
           
protected  String targetProperties
           
protected  Map targetToSourceMap
           
 
Fields inherited from interface org.eclipse.core.runtime.IPlatformRunnable
EXIT_OK, EXIT_RELAUNCH, EXIT_RESTART
 
Constructor Summary
PropertyMerger()
          This creates an empty instances, when used as a runnable.
 
Method Summary
 String createPropertiesForInputStream(InputStream inputStream)
           
 String createPropertiesForURI(String uri)
          Create a JDOM from a URI.
 String getSourceProperties()
           
 Map getSourceToTargetMap()
           
 String getTargetProperties()
           
 void merge()
           
 Map parse(String properties)
           
 Object run(Object object)
          This is called with the command line arguments of a headless workbench invocation.
 void setSourceProperties(String sourceProperties)
           
 void setTargetProperties(String targetProperties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

 

Field Detail

 

 

sourceProperties

protected String sourceProperties


 

 

targetProperties

protected String targetProperties


 

 

sourceToTargetMap

protected Map sourceToTargetMap


 

 

targetToSourceMap

protected Map targetToSourceMap


 

 

propertyLine

protected static Pattern propertyLine

Constructor Detail

 

 

PropertyMerger

public PropertyMerger()

This creates an empty instances, when used as a runnable.

Method Detail

 

 

getSourceProperties

public String getSourceProperties()


 

 

setSourceProperties

public void setSourceProperties(String sourceProperties)


 

 

getTargetProperties

public String getTargetProperties()


 

 

setTargetProperties

public void setTargetProperties(String targetProperties)


 

 

getSourceToTargetMap

public Map getSourceToTargetMap()


 

 

createPropertiesForURI

public String createPropertiesForURI(String uri)

Create a JDOM from a URI.


 

 

createPropertiesForInputStream

public String createPropertiesForInputStream(InputStream inputStream)


 

 

merge

public void merge()


 

 

parse

public Map parse(String properties)


 

 

run

public Object run(Object object)

This is called with the command line arguments of a headless workbench invocation.

Specified by:
run in interface IPlatformRunnable


 

Overview

 
Package  Use  Tree  Deprecated  Index  Help 
Copyright 2001-2004 IBM Corporation and others.
All Rights Reserved.
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD