public final class Abbreviated extends TextEnvelope
There is no thread-safety guarantee.
Constructor and Description |
---|
Abbreviated(CharSequence text)
Ctor.
|
Abbreviated(CharSequence text,
int max)
Ctor.
|
Abbreviated(Text text)
Ctor.
|
Abbreviated(Text text,
int max)
Ctor.
|
public Abbreviated(CharSequence text)
By default, the max line width is 80 characters.
text
- The CharSequencepublic Abbreviated(Text text)
By default, the max line width is 80 characters.
text
- The Textpublic Abbreviated(CharSequence text, int max)
text
- A CharSequencemax
- Max width of the result stringpublic Abbreviated(Text text, int max)
text
- The Textmax
- Max width of the result stringCopyright © 2017–2022 Cactoos. All rights reserved.