Schnittstelle IOptionalTextHolder
- Alle bekannten Unterschnittstellen:
IMutableOptionalTextHolder
public interface IOptionalTextHolder
A
IOptionalTextHolder
can have a text.- Version:
- 2023-02-03
- Autor:
- Silvan Wyss
-
Methodendetails
-
getText
String getText()- Gibt zurück:
- the text of the current
IOptionalTextHolder
. - Löst aus:
RuntimeException
- if the currentIOptionalTextHolder
does not have a text.
-
hasText
boolean hasText()- Gibt zurück:
- true if the current
IOptionalTextHolder
has a text.
-