org.apache.myfaces.trinidadinternal.util
Class MimeUtility

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.util.MimeUtility

public final class MimeUtility
extends java.lang.Object


Method Summary
static java.lang.String encodeHTTPHeader(java.lang.String word, boolean isIE)
          Encode a string for HTTP header value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

encodeHTTPHeader

public static java.lang.String encodeHTTPHeader(java.lang.String word,
                                                boolean isIE)
Encode a string for HTTP header value

Parameters:
word - The string data to encode.
isIE - If true, use URL UTF-8 encoding, which MSIE expects. If false, use RFC-2047, UTF-8 quoted-printable, according to HTTP 1.1 spec.


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.