On Jul 12, 2007, at 5:01 AM, Francis Labrie wrote:

Chuck Hill wrote:
What I did was to create a NullFormatter so that I did not have to worry about optionality:

import java.text.*;

/**
* A null object formatter that just returns its input. Useful for when the API needs a formatter
 * but there is no formatting to do.
 */

Funny, I already created a NullFormatter myself too, but with a different objective. This formatter is responsible for the transformation of a string into null value and vice versa. :-)

Isn't choosing names fun?

Chuck


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects





_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to