org.mybatis.generator.eclipse.core.merge
Class JavaFileMerger

java.lang.Object
  extended by org.mybatis.generator.eclipse.core.merge.JavaFileMerger

public class JavaFileMerger
extends java.lang.Object

This class handles the task of merging changes into an existing Java file. This class makes several assumptions about the structure of the new and existing files, including:

Author:
Jeff Butler

Constructor Summary
JavaFileMerger(java.lang.String newJavaSource, java.lang.String existingFilePath, java.lang.String[] javaDocTags)
           
 
Method Summary
 java.lang.String getMergedSource()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaFileMerger

public JavaFileMerger(java.lang.String newJavaSource,
                      java.lang.String existingFilePath,
                      java.lang.String[] javaDocTags)
Method Detail

getMergedSource

public java.lang.String getMergedSource()
                                 throws ShellException
Throws:
ShellException