com.ibm.commerce.messaging.outboundservice

Class PropertyFileInfo

  • java.lang.Object
    • com.ibm.commerce.messaging.outboundservice.PropertyFileInfo


  • public class PropertyFileInfo
    extends java.lang.Object
    An object that represents the different Mime types for different languages.
    • Constructor Summary

      Constructors 
      Constructor and Description
      PropertyFileInfo()
      Constructs the PropertyFile object by calling its parents constructor.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.lang.String getMimeSet(java.lang.String language)
      This method searches through the MIME property file of MIME character sets to retrieve the one corresponding to the language parameter.
      static void loadFile()
      This method reads all MIME character sets from an input file and stores them in a static hashtable.
      • Methods inherited from class java.lang.Object

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

      • PropertyFileInfo

        public PropertyFileInfo()
        Constructs the PropertyFile object by calling its parents constructor.
    • Method Detail

      • getMimeSet

        public static java.lang.String getMimeSet(java.lang.String language)
                                           throws ECSystemException
        This method searches through the MIME property file of MIME character sets to retrieve the one corresponding to the language parameter. If nothing has been loaded yet, this method will perform the load.
        Parameters:
        language - The language
        Returns:
        java.lang.String The Mime Set.
        Throws:
        ECSystemException
      • loadFile

        public static void loadFile()
                             throws ECSystemException
        This method reads all MIME character sets from an input file and stores them in a static hashtable.
        Throws:
        ECSystemException - Raised with _ERR_EX_FILE_NOT_FOUND whenever the file cannot be found. Raised with _ERR_EX_READ_FILE_ERROR whenever the file cannot be read