Interface ANSIComponentSerializer
- All Superinterfaces:
ComponentEncoder<Component, String>
A serializer which emits ANSI escape sequences.
Note that this serializer does NOT support deserialization.
- Since:
- 4.14.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA builder for the ANSI component serializer.static interfaceAANSIComponentSerializerservice provider. -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic ANSIComponentSerializeransi()Gets a component serializer for serialization to a string using ANSI escape codes.builder()Create a new builder.Methods inherited from interface ComponentEncoder
serialize, serializeOr, serializeOrNull
-
Method Details
-
ansi
Gets a component serializer for serialization to a string using ANSI escape codes.Note that this serializer does NOT support deserialization.
- Returns:
- a component serializer for serialization with ANSI escape sequences.
- Since:
- 4.14.0
-
builder
Create a new builder.- Returns:
- a new ANSI serializer builder
- Since:
- 4.14.0
-