public void initialize(Map map){
  if (map != null) {
    String compatVersion=(String)map.get(CachedFontManager.COMPATIBILITY_VERSION);
    if (compatVersion != null) {
      String[] parts=compatVersion.split("\\.");
      if (parts.length > 0) {
        try {
          int major=Integer.parseInt(parts[0]);
          majorCompatibilityVersion=major;
        }
 catch (        Throwable t) {
        }
      }
    }
  }
}

public void initialize ( Map map ) { if ( map != null ) { String compatVersion = ( String ) map . get ( CachedFontManager . COMPATIBILITY_VERSION ) ; if ( compatVersion != null ) { String [ ] parts = compatVersion . split ( "\\." ) ; if ( parts . length > 0 ) { try { int major = Integer . parseInt ( parts [ 0 ] ) ; majorCompatibilityVersion = major ; } catch ( Throwable t ) { } } } } }
initialization properties can be provided as name / value pairs .
