public static boolean isRecognizedEncoding(String encoding){
  EncodingInfo ei;
  String normalizedEncoding=encoding.toUpperCase();
  ei=(EncodingInfo)_encodingTableKeyJava.get(normalizedEncoding);
  if (ei == null)   ei=(EncodingInfo)_encodingTableKeyMime.get(normalizedEncoding);
  if (ei != null)   return true;
  return false;
}

public static boolean isRecognizedEncoding ( String encoding ) { EncodingInfo ei ; String normalizedEncoding = encoding . toUpperCase ( ) ; ei = ( EncodingInfo ) _encodingTableKeyJava . get ( normalizedEncoding ) ; if ( ei == null ) ei = ( EncodingInfo ) _encodingTableKeyMime . get ( normalizedEncoding ) ; if ( ei != null ) return true ; return false ; }
determines if the encoding specified was recognized by the serializer or not .
