- All Known Subinterfaces:
Text<B>
- All Known Implementing Classes:
AsciiArtBuilder
,EscapeTextBuilder
,HorizAlignTextBuilder
,MoreTextBuilder
,OverwriteTextBuilder
,ReplaceTextBuilder
,SecretHintBuilder
,TextBlockBuilder
,TextBorderBuilder
,TruncateTextBuilder
,VertAlignTextBuilder
- Enclosing interface:
- TextAccessor
public static interface TextAccessor.TextProvider
A provider interface provides a "toSomething(?)" method which converts a
given instance into something else. The
TextAccessor.TextProvider
converts an
implementing instance's state into String
instances.-
Method Summary
-
Method Details
-
toStrings
String[] toStrings()TheString
s being build by the builder upon the settings of the attributes.- Returns:
- The according resulting
String
array
-
toString
String toString()TheString
being build by the builder upon the settings of the attributes. In case more then one line has been set as input and the functionality of the builder is applied to each line in separate, then this method returns all of them lines concatenated with a line break between each of them (implementation depended).
-