public abstract class AbstractMessageFormatter extends java.lang.Object implements MessageFormatter
MessageFormatter
needing a SourceExcerptProvider
.Constructor and Description |
---|
AbstractMessageFormatter(SourceExcerptProvider source) |
Modifier and Type | Method and Description |
---|---|
protected SourceExcerptProvider |
getSource()
Get the source excerpt provider.
|
protected java.lang.String |
maybeEmbolden(java.lang.String text) |
void |
setColorize(boolean colorize) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
formatError, formatWarning
public AbstractMessageFormatter(SourceExcerptProvider source)
public void setColorize(boolean colorize)
protected final SourceExcerptProvider getSource()
protected java.lang.String maybeEmbolden(java.lang.String text)
Copyright © 2009-2018 Google. All Rights Reserved.