FAQ

back to index

I don't like one of the converters. What can I do?

If your application wants to disable a particular converter (say, for example, you want to have a validation error when a long is assigned to a Date, or something of that sort), you may call the Javadoc reference Converters.removeConverter() method.

You can also turn off the special "string constructor" conversion using the Javadoc reference Converters.setProperty() method, by setting the Javadoc reference CONVERT_USING_STRING_CONSTRUCTOR feature to false.