public static class MessageTagManager.DefaultMessageTag extends Object implements MessageTag
MessageTag.Label, MessageTag.MsgId, MessageTag.Time, MessageTag.Typing| Constructor and Description |
|---|
DefaultMessageTag(@NonNull String name,
@Nullable String value)
Constructs a default message tag.
|
| Modifier and Type | Method and Description |
|---|---|
@NonNull String |
getName()
Gets the name of the tag.
|
@NonNull Optional<String> |
getValue()
Gets the unescaped, but otherwise unprocessed, value of the tag.
|
@NonNull String |
toString() |
protected @NonNull ToStringer |
toStringer()
ToStringPartyTime.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAsString, getEscapedValue, isClientOnlypublic DefaultMessageTag(@NonNull String name, @Nullable String value)
name - tag namevalue - tag value or Optional.empty()public @NonNull String getName()
MessageTaggetName in interface MessageTagpublic @NonNull Optional<String> getValue()
MessageTaggetValue in interface MessageTagprotected @NonNull ToStringer toStringer()
toString()Copyright © 2013–2021 Kitteh. All rights reserved.