Class LocalizedPropertyUtil
java.lang.Object
de.hybris.platform.acceleratorservices.velocity.util.LocalizedPropertyUtil
Ant UTF-8 based reader util for loading properties.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidfillProperties(Properties props, org.springframework.core.io.Resource resource) Fill the given properties from the given resource.static PropertiesloadProperties(org.springframework.core.io.Resource resource)
-
Method Details
-
loadProperties
public static Properties loadProperties(org.springframework.core.io.Resource resource) throws IOException - Throws:
IOException
-
fillProperties
public static void fillProperties(Properties props, org.springframework.core.io.Resource resource) throws IOException Fill the given properties from the given resource.- Parameters:
props- the Properties instance to fillresource- the resource to load from- Throws:
IOException- if loading failed
-