Class AlfrescoPropertiesPersister

  • All Implemented Interfaces:
    org.springframework.util.PropertiesPersister

    public class AlfrescoPropertiesPersister
    extends org.springframework.util.DefaultPropertiesPersister
    Simple extension to theDefaultPropertiesPersister to strip trailing whitespace from incoming properties.
    Author:
    shane frensley
    See Also:
    DefaultPropertiesPersister
    • Constructor Detail

      • AlfrescoPropertiesPersister

        public AlfrescoPropertiesPersister()
    • Method Detail

      • load

        public void load​(Properties props,
                         InputStream is)
                  throws IOException
        Specified by:
        load in interface org.springframework.util.PropertiesPersister
        Overrides:
        load in class org.springframework.util.DefaultPropertiesPersister
        Throws:
        IOException
      • load

        public void load​(Properties props,
                         Reader reader)
                  throws IOException
        Specified by:
        load in interface org.springframework.util.PropertiesPersister
        Overrides:
        load in class org.springframework.util.DefaultPropertiesPersister
        Throws:
        IOException
      • loadFromXml

        public void loadFromXml​(Properties props,
                                InputStream is)
                         throws IOException
        Specified by:
        loadFromXml in interface org.springframework.util.PropertiesPersister
        Overrides:
        loadFromXml in class org.springframework.util.DefaultPropertiesPersister
        Throws:
        IOException