org.schmant.arg
Class AbstractArgumentInterpreter
java.lang.Object
org.schmant.arg.AbstractArgumentInterpreter
- Direct Known Subclasses:
- ArgumentInterpreter, XmlArgumentInterpreter
public abstract class AbstractArgumentInterpreter
- extends Object
This abstract base class contains common logic for all argument interpreter
implementations.
- Since:
- 0.6
- Author:
- Karl Gustafsson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractArgumentInterpreter
public AbstractArgumentInterpreter()
trace
@Deprecated
protected void trace(List<String> trace,
String msg)
- Deprecated.
- Log an interpretation decision to the trace (FINEST) level. Subclasses
are encouraged to call this method when they do interpretation decisions.
- Parameters:
trace
- A list with trace messages that is built as they are logged.
(The logged message is appended to the list by this method.) The messages
are saved so that they can be included in the
ArgumentInterpretationException
that may be thrown if the
interpretation fails. This argument may be null
.msg
- The message to log (and perhaps include in the trace message
list).