Package com.sun.xml.rpc.util
Class JavaCompilerHelper
- java.lang.Object
-
- com.sun.xml.rpc.util.ToolBase
-
- com.sun.xml.rpc.util.JavaCompilerHelper
-
public class JavaCompilerHelper extends ToolBase
A helper class to invoke javac.- Author:
- JAX-RPC Development Team
-
-
Field Summary
Fields Modifier and Type Field Description protected static Class[]compile141MethodSignatureprotected static Class[]compileMethodSignatureprotected static Class[]constructorSignatureprotected OutputStreamout
-
Constructor Summary
Constructors Constructor Description JavaCompilerHelper(OutputStream out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancompile(String[] args)protected StringgetGenericErrorMessage()protected StringgetResourceBundleName()protected booleaninternalCompile(String[] args)protected booleaninternalCompilePre141(String[] args)voidonError(Localizable msg)protected booleanparseArguments(String[] args)protected voidrun()-
Methods inherited from class com.sun.xml.rpc.util.ToolBase
getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, initialize, printStackTrace, report, report, run, wasSuccessful
-
-
-
-
Field Detail
-
out
protected OutputStream out
-
compile141MethodSignature
protected static final Class[] compile141MethodSignature
-
constructorSignature
protected static final Class[] constructorSignature
-
compileMethodSignature
protected static final Class[] compileMethodSignature
-
-
Constructor Detail
-
JavaCompilerHelper
public JavaCompilerHelper(OutputStream out)
-
-
Method Detail
-
compile
public boolean compile(String[] args)
-
getResourceBundleName
protected String getResourceBundleName()
- Specified by:
getResourceBundleNamein classToolBase
-
internalCompile
protected boolean internalCompile(String[] args)
-
internalCompilePre141
protected boolean internalCompilePre141(String[] args)
-
getGenericErrorMessage
protected String getGenericErrorMessage()
- Specified by:
getGenericErrorMessagein classToolBase
-
parseArguments
protected boolean parseArguments(String[] args)
- Specified by:
parseArgumentsin classToolBase
-
onError
public void onError(Localizable msg)
-
-