public static Message parseMessage(Class<Message> klass, InputStream in) {
    Method parseMethod = parseMethodFor(klass);
    return parseMessage(parseMethod, in);
  }
public static Message parseMessage(Class<Message> klass, InputStream in) {
    Method parseMethod = parseMethodFor(klass);
    return parseMessage(parseMethod, in);
  }
public static Message parseMessage ( Class < Message > klass , InputStream in ) { Method parseMethod = parseMethodFor ( klass ) ; return parseMessage ( parseMethod , in ) ; }
Parse the message in a given Message container
@param klass the class containing the message
@param in the input stream
@return the parsed Message
Parse the message in a given Message container