Class AlfrescoPropertiesPersister

java.lang.Object
org.springframework.util.DefaultPropertiesPersister
org.alfresco.config.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 Details

    • AlfrescoPropertiesPersister

      public AlfrescoPropertiesPersister()
  • Method Details

    • 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