public CharSetMap(){
  String path;
  try {
    path=System.getProperty("user.home");
    if (path != null) {
      path=path + File.separator + CHARSET_RESOURCE;
      mappers[MAP_HOME]=loadPath(path);
    }
  }
 catch (  Exception x) {
  }
  try {
    path=System.getProperty("java.home") + File.separator + "lib"+ File.separator+ CHARSET_RESOURCE;
    mappers[MAP_SYS]=loadPath(path);
  }
 catch (  Exception x) {
  }
  mappers[MAP_JAR]=loadResource("/META-INF/" + CHARSET_RESOURCE);
  mappers[MAP_COM]=commonMapper;
  mappers[MAP_CACHE]=new Hashtable<String,String>();
}

public CharSetMap ( ) { String path ; try { path = System . getProperty ( "user.home" ) ; if ( path != null ) { path = path + File . separator + CHARSET_RESOURCE ; mappers [ MAP_HOME ] = loadPath ( path ) ; } } catch ( Exception x ) { } try { path = System . getProperty ( "java.home" ) + File . separator + "lib" + File . separator + CHARSET_RESOURCE ; mappers [ MAP_SYS ] = loadPath ( path ) ; } catch ( Exception x ) { } mappers [ MAP_JAR ] = loadResource ( "/META-INF/" + CHARSET_RESOURCE ) ; mappers [ MAP_COM ] = commonMapper ; mappers [ MAP_CACHE ] = new Hashtable < String , String > ( ) ; }
constructs a new charset map with default mappers .
