Class LocalizedPropertyUtil

java.lang.Object
de.hybris.platform.acceleratorservices.velocity.util.LocalizedPropertyUtil

public final class LocalizedPropertyUtil extends Object
Ant UTF-8 based reader util for loading properties.
  • 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 fill
      resource - the resource to load from
      Throws:
      IOException - if loading failed