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_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<java.io.File> srcFiles, java.io.File outdir, java.io.File[] cp, boolean debug)Deprecated.static booleanexternalCompile(java.util.List<java.io.File> 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<java.io.File> 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 java.net.URIresolve(java.net.URI base, java.net.URI child)static java.io.File[]systemClasspath()
-
-
-
Field Detail
-
DEFAULT_MEM_START
public static final java.lang.String DEFAULT_MEM_START
- See Also:
- Constant Field Values
-
DEFAULT_MEM_MAX
public static final java.lang.String DEFAULT_MEM_MAX
- See Also:
- Constant Field Values
-
DEFAULT_COMPILER
public static final java.lang.String DEFAULT_COMPILER
- See Also:
- Constant Field Values
-
-
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<java.io.File> 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<java.io.File> 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<java.io.File> 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()
-
-