Package org.apache.xmlbeans.impl.tool
Class CodeGenUtil
- java.lang.Object
-
- org.apache.xmlbeans.impl.tool.CodeGenUtil
-
public class CodeGenUtil extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEFAULT_COMPILERstatic java.lang.StringDEFAULT_JARstatic java.lang.StringDEFAULT_MEM_MAXstatic java.lang.StringDEFAULT_MEM_START
-
Constructor Summary
Constructors Constructor Description CodeGenUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleanexternalCompile(java.util.List srcFiles, java.io.File outdir, java.io.File[] cp, boolean debug)Deprecated.static booleanexternalCompile(java.util.List srcFiles, java.io.File outdir, java.io.File[] cp, boolean debug, java.lang.String javacPath, java.lang.String memStart, java.lang.String memMax, boolean quiet, boolean verbose)static booleanexternalCompile(java.util.List srcFiles, java.io.File outdir, java.io.File[] cp, boolean debug, java.lang.String javacPath, java.lang.String genver, java.lang.String memStart, java.lang.String memMax, boolean quiet, boolean verbose)Invokes javac on the generated source files in order to turn them into binary files in the output directory.static booleanexternalJar(java.io.File srcdir, java.io.File outfile)Deprecated.Use org.apache.xmlbeans.impl.common.JarHelper instead.static booleanexternalJar(java.io.File srcdir, java.io.File outfile, java.lang.String jarPath, boolean quiet, boolean verbose)Deprecated.Use org.apache.xmlbeans.impl.common.JarHelper instead.static java.net.URIresolve(java.net.URI base, java.net.URI child)static java.io.File[]systemClasspath()
-
-
-
Method Detail
-
resolve
public static java.net.URI resolve(java.net.URI base, java.net.URI child)
-
externalCompile
public static boolean externalCompile(java.util.List srcFiles, java.io.File outdir, java.io.File[] cp, boolean debug)Deprecated.Invokes javac on the generated source files in order to turn them into binary files in the output directory. This will return a list ofGenFiles for all of the classes produced or null if an error occurred.
-
externalCompile
public static boolean externalCompile(java.util.List srcFiles, java.io.File outdir, java.io.File[] cp, boolean debug, java.lang.String javacPath, java.lang.String memStart, java.lang.String memMax, boolean quiet, boolean verbose)
-
externalCompile
public static boolean externalCompile(java.util.List srcFiles, java.io.File outdir, java.io.File[] cp, boolean debug, java.lang.String javacPath, java.lang.String genver, java.lang.String memStart, java.lang.String memMax, boolean quiet, boolean verbose)Invokes javac on the generated source files in order to turn them into binary files in the output directory. This will return a list ofGenFiles for all of the classes produced or null if an error occurred.
-
systemClasspath
public static java.io.File[] systemClasspath()
-
externalJar
public static boolean externalJar(java.io.File srcdir, java.io.File outfile)Deprecated.Use org.apache.xmlbeans.impl.common.JarHelper instead.
-
externalJar
public static boolean externalJar(java.io.File srcdir, java.io.File outfile, java.lang.String jarPath, boolean quiet, boolean verbose)Deprecated.Use org.apache.xmlbeans.impl.common.JarHelper instead.
-
-