- Alle Superschnittstellen:
MessagePart
,SpacesAware
- Alle bekannten Implementierungsklassen:
NoSpaceTextPart
,TextPart
- Umschließende Schnittstelle:
MessagePart
Message part containing text only, optionally decorated with leading/trailing space.
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen de.sayayi.lib.message.part.MessagePart
MessagePart.Parameter, MessagePart.Template, MessagePart.Text
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final MessagePart.Text
Message part representing an empty text value.static final MessagePart.Text
Message part representing anull
value. -
Methodenübersicht
Von Schnittstelle geerbte Methoden de.sayayi.lib.message.SpacesAware
isSpaceAfter, isSpaceAround, isSpaceBefore
-
Felddetails
-
EMPTY
Message part representing an empty text value. -
NULL
Message part representing anull
value.
-
-
Methodendetails
-
getText
Returns the trimmed text for this message part.- Gibt zurück:
- trimmed text or
null
-
getTextWithSpaces
Returns the text for this message part decorated with spaces, if available. If the message text isnull
an empty string is returned.- Gibt zurück:
- text, never
null
-
isEmpty
Tells if this text message part is empty.- Gibt zurück:
true
if this message part is empty,false
otherwise
-