return retval;
}
protected CMap parseCmap( String cmapRoot, InputStream cmapStream)
{
CMap targetCmap = null;
if( cmapStream != null )
{
CMapParser parser = new CMapParser();
try
{
targetCmap = parser.parse( cmapRoot, cmapStream );
// limit the cache to external CMaps
if (cmapRoot != null)
{
cmapObjects.put( targetCmap.getName(), targetCmap );
}
}
catch (IOException exception)
{
LOG.error("An error occurs while reading a CMap", exception);