I'm using PropertiesFactoryBean to load properties from a typical Properties file. Is there anyway to get Spring to automatically trim trailing white space from the prop value?
You can customize the
Properties loading functionality by passing in a custom
PropertiesPersister into your
PropertiesFactoryBean configuration. The
PropertiesPersister instance is used by the
PropertiesFactoryBean to parse the Properties file data. The default implementation follows the native parsing of
java.util.Properties. You can customize the parsing logic by providing your own implementation of the