public class PropertyFileInfo
extends java.lang.Object
Constructor and Description |
---|
PropertyFileInfo()
Constructs the
PropertyFile object by calling its parents constructor. |
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.
|
public PropertyFileInfo()
PropertyFile
object by calling its parents constructor.public static java.lang.String getMimeSet(java.lang.String language) throws ECSystemException
language
- The languageECSystemException
public static void loadFile() throws ECSystemException
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