At first glance, I don't know how "general" this is.  It seems very
limited in scope.  However, I can see how I would have used this in my
code at times.  I guess I'm on the fence about this one.

On Thu, Dec 15, 2011 at 3:37 AM, Darryl Smith
<darryl.sm...@vcontractor.co.za> wrote:
> The intended purpose is to be able to format Strings with text intermixed
> with variable String values that conform to correct punctuation.
>
>
>
> i.e.
>
>
>
> Building up the correct display String depending on which variables are
> correctly entered.
>
> “Please specify the following: “ followed by a comma delimited listing of
> the required values [Name | Cell | Email Address] terminated by a fullstop.
>
>
>
> EnhancedBuilder allows us to easily specify the logic to build such a
> String.
>
>
>
>                 EnhancedBuilder eb = new EnhancedBuilder();
>
>                                 eb.setFirstSuffix(": \n")
>
>                                 .setSuffix(",\n")
>
>                                 .setPrefix(" -")
>
>                                 .setLastSuffix(".")
>
>                                 .setSkipFirstPrefix(true);
>
>                                 System.out.println(eb.append("Please specify
> the following
> arguments").append("Username").append("Cell").append("Email").toString());
>
> This e-mail is classified C2 - Vodacom Restricted - Information to be used
> inside Vodacom but it may be shared with authorised partners. “This e-mail
> is sent on the Terms and Conditions that can be accessed by Clicking on this
> link http://www.vodacom.co.za/vodacom/terms+and+conditions "
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to