Package com.g2forge.alexandria.java.text
Class TextUpdateBuilder
- java.lang.Object
-
- com.g2forge.alexandria.java.text.TextUpdateBuilder
-
- All Implemented Interfaces:
IBuilder<String>
,IConsumer
,IConsumer1<TextUpdate<?>>
,IFunctional
,IThrowConsumer1<TextUpdate<?>,RuntimeException>
,Consumer<TextUpdate<?>>
public class TextUpdateBuilder extends Object implements IConsumer1<TextUpdate<?>>, IBuilder<String>
-
-
Field Summary
Fields Modifier and Type Field Description protected String
input
protected StringBuilder
retVal
-
Constructor Summary
Constructors Constructor Description TextUpdateBuilder(String input)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(TextUpdate<?> update)
String
build()
protected String
getInput()
protected StringBuilder
getRetVal()
String
toString()
protected static void
verifyUpdate(TextUpdate<?> update)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.g2forge.alexandria.java.function.builder.IBuilder
asSupplier
-
Methods inherited from interface com.g2forge.alexandria.java.function.IConsumer1
andThen, curry, lift, sync, toFunction, wrap
-
Methods inherited from interface com.g2forge.alexandria.java.function.IThrowConsumer1
wrap
-
-
-
-
Field Detail
-
input
protected final String input
-
retVal
protected StringBuilder retVal
-
-
Constructor Detail
-
TextUpdateBuilder
@ConstructorProperties("input") public TextUpdateBuilder(String input)
-
-
Method Detail
-
verifyUpdate
protected static void verifyUpdate(TextUpdate<?> update)
-
accept
public void accept(TextUpdate<?> update)
- Specified by:
accept
in interfaceConsumer<TextUpdate<?>>
- Specified by:
accept
in interfaceIThrowConsumer1<TextUpdate<?>,RuntimeException>
-
getInput
protected String getInput()
-
getRetVal
protected StringBuilder getRetVal()
-
-