com.ibm.commerce.emarketing.utils

Class EmailContentHelper

  • java.lang.Object
    • com.ibm.commerce.emarketing.utils.EmailContentHelper


  • public class EmailContentHelper
    extends java.lang.Object
    A simple helper class that is used to open a URLConnection and return the reponse to a request to the URL as a String.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      Copyright.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.lang.String getURLResultAsString(java.lang.String urlString)
      Gets the resource from a URL as a String object.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

    • Method Detail

      • getURLResultAsString

        public static final java.lang.String getURLResultAsString(java.lang.String urlString)
        Gets the resource from a URL as a String object. The resource encoding must be UTF-8.
        Parameters:
        urlString - The URL that points to the resource.
        Returns:
        The String representation of the resource.