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 will represent the different mine types for different languages.


Constructor Summary
PropertyFileInfo()
          Constructs the PropertyFile object.
 
Method Summary
static java.lang.String getMimeSet(java.lang.String language)
          This method searches through the table of mimesets 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyFileInfo

public PropertyFileInfo()
Constructs the PropertyFile object.
Method Detail

getMimeSet

public static java.lang.String getMimeSet(java.lang.String language)
                                   throws ECSystemException
This method searches through the table of mimesets 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