public static TypeConverter < ? > putConverter ( final String attributeName , final String type ) { TypeConverter < ? > conv = DataConverter . converterClasses . get ( type ) ; if ( conv == null ) { log . warn ( "Could not find a converter for data type {}." , type ) ; throw new IllegalArgumentException ( "Could not find a converter for data type \"" + type + "\"." ) ; } return DataConverter . attributeConverters . put ( attributeName , conv ) ; }
Maps a converter for an Attribute name .