private void initializeResource()
    {
        try
        {
            final String mappingFileName = "/pinyindb/pinyin_gwoyeu_mapping.xml";
            final String systemId = "";

            // Parse file to DOM Document
            setPinyinToGwoyeuMappingDoc(Parser.parse(systemId, ResourceHelper.getResourceInputStream(mappingFileName)));

        } catch (FileNotFoundException ex)
        {
            ex.printStackTrace();
        } catch (IOException ex)
        {
            ex.printStackTrace();
        } catch (ParseException e)
        {
            e.printStackTrace();
        }
    }