Package com.sun.xml.rpc.util
Class ToolBase
java.lang.Object
com.sun.xml.rpc.util.ToolBase
- Direct Known Subclasses:
CompileTool,DeployTool,JavaCompilerHelper
A base class for command-line tools.
- Author:
- JAX-RPC Development Team
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected Localizerprotected LocalizableMessageFactoryprotected OutputStreamprotected Stringprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract StringgetMessage(String key) getMessage(String key, Localizable localizable) getMessage(String key, Object[] args) getMessage(String key, String arg) getMessage(String key, String arg1, String arg2) getMessage(String key, String arg1, String arg2, String arg3) protected abstract Stringprotected voidprotected abstract booleanparseArguments(String[] args) voidprotected voidreport(Localizable msg) protected voidprotected abstract voidrun()booleanboolean
-
Field Details
-
out
-
program
-
localizer
-
messageFactory
-
TRUE
- See Also:
-
FALSE
- See Also:
-
-
Constructor Details
-
ToolBase
-
-
Method Details
-
initialize
protected void initialize() -
run
-
wasSuccessful
public boolean wasSuccessful() -
parseArguments
-
run
- Throws:
Exception
-
getGenericErrorMessage
-
getResourceBundleName
-
printStackTrace
-
report
-
report
-
getMessage
-
getMessage
-
getMessage
-
getMessage
-
getMessage
-
getMessage
-