Package org.alfresco.config
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 Summary
Constructors Constructor Description AlfrescoPropertiesPersister()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
load(Properties props, InputStream is)
void
load(Properties props, Reader reader)
void
loadFromXml(Properties props, InputStream is)
-
-
-
Method Detail
-
load
public void load(Properties props, InputStream is) throws IOException
- Specified by:
load
in interfaceorg.springframework.util.PropertiesPersister
- Overrides:
load
in classorg.springframework.util.DefaultPropertiesPersister
- Throws:
IOException
-
load
public void load(Properties props, Reader reader) throws IOException
- Specified by:
load
in interfaceorg.springframework.util.PropertiesPersister
- Overrides:
load
in classorg.springframework.util.DefaultPropertiesPersister
- Throws:
IOException
-
loadFromXml
public void loadFromXml(Properties props, InputStream is) throws IOException
- Specified by:
loadFromXml
in interfaceorg.springframework.util.PropertiesPersister
- Overrides:
loadFromXml
in classorg.springframework.util.DefaultPropertiesPersister
- Throws:
IOException
-
-