Class LocalizedPropertyUtil
- java.lang.Object
-
- de.hybris.platform.acceleratorservices.velocity.util.LocalizedPropertyUtil
-
public final class LocalizedPropertyUtil extends java.lang.ObjectAnt UTF-8 based reader util for loading properties.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidfillProperties(java.util.Properties props, org.springframework.core.io.Resource resource)Fill the given properties from the given resource.static java.util.PropertiesloadProperties(org.springframework.core.io.Resource resource)
-
-
-
Method Detail
-
loadProperties
public static java.util.Properties loadProperties(org.springframework.core.io.Resource resource) throws java.io.IOException- Throws:
java.io.IOException
-
fillProperties
public static void fillProperties(java.util.Properties props, org.springframework.core.io.Resource resource) throws java.io.IOExceptionFill the given properties from the given resource.- Parameters:
props- the Properties instance to fillresource- the resource to load from- Throws:
java.io.IOException- if loading failed
-
-