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
static java.lang.String COPYRIGHT
          Copyright.
 
Method Summary
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail
public static final java.lang.String COPYRIGHT
Copyright.
See Also:
Constant Field Values
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