org.mybatis.generator.eclipse.core.merge
Class JavaFileMerger
java.lang.Object
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:
- The imports of both files are fully qualified (no wildcard imports)
- The super interfaces of both files are NOT fully qualified
- The super classes of both files are NOT fully qualified
- Author:
- Jeff Butler, Tomas Neuberg
Constructor Summary |
JavaFileMerger(java.lang.String newJavaSource,
java.lang.String existingFilePath,
java.lang.String[] javaDocTags,
java.lang.String fileEncoding)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaFileMerger
public JavaFileMerger(java.lang.String newJavaSource,
java.lang.String existingFilePath,
java.lang.String[] javaDocTags,
java.lang.String fileEncoding)
getMergedSource
public java.lang.String getMergedSource()
throws ShellException
- Throws:
ShellException