test_class.file: storm/storm-esper/src/test/java/com/neulion/stream/MessageBeanTest.java
test_class.identifier: MessageBeanTest
test_case.body: @Test
  	public void testParse() throws UnsupportedEncodingException {
  		String line = "msgID=284&eventType=HEARTBEAT&clientID=7EACAECB-1BDC-3EFC-2527-5EA00367CDB3&viewID=5B1B79BE-559F-8EEC-37FB-5EA07FDC3410&playTime=7594&streamType=1&streamURL=adaptive%3A%2F%2Fnlds130.neulion.com%3A443%2Fnlds_vod%2Fnfl%2Fvod%2F2012%2F12%2F02%2F55688%2F2_55688_sf_stl_2012_h_whole_1_pc.mp4&streamLength=9321&startupTime=746&updateInterval=30000&bitrate=4500&os=Mac%20OS%2010.8.2&player=MAC%2011%2C5%2C502%2C110&browserVersion=Firefox%2016&bandwidth=8303&dropFrameCount=0&cdnName=nlds130.cdnl3nl.neulion.com&bytesLoaded=2653080576&bytesLoadedDelta=10038272&cdnName=nlds130.cdnak.neulion.com&bytesLoaded=1604219904&bytesLoadedDelta=6137856&gameDate=12%2F2%2F2012&homeTeam=STL&productID=nflgp&userID=5b-56-5e-59-59-67&progType=broadcast&appType=desktop&windowMode=full%20mosaic&siteID=nfl&streamDescription=GP%3A%2012%2F2%2F2012%20SF%40STLbroadcast&awayTeam=SF&gameID=55688&ipAddress=184.175.39.214";
  		MessageBean bean = MessageBean.parse(line);
  		System.out.println(bean.getBitrate());
  		System.out.println(bean.getClientID());
  		System.out.println(bean.getMsgID());
  		System.out.println(bean.getProductID());
  		System.out.println(bean.getViewID());
  	}
test_case.class_method_signature: MessageBeanTest.testParse()
test_case.full_signature: @Test public void testParse()
test_case.identifier: testParse
test_case.invocations: parse println getBitrate println getClientID println getMsgID println getProductID println getViewID
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testParse()
focal_class.declarator: msgID
focal_class.modifier: private
focal_class.original_string: private long msgID;
focal_class.type: long
focal_class.var_name: msgID
focal_class.declarator: bitrate
focal_class.modifier: private
focal_class.original_string: private long bitrate;
focal_class.type: long
focal_class.var_name: bitrate
focal_class.declarator: productID
focal_class.modifier: private
focal_class.original_string: private String productID;
focal_class.type: String
focal_class.var_name: productID
focal_class.declarator: clientID
focal_class.modifier: private
focal_class.original_string: private String clientID;
focal_class.type: String
focal_class.var_name: clientID
focal_class.declarator: viewID
focal_class.modifier: private
focal_class.original_string: private String viewID;
focal_class.type: String
focal_class.var_name: viewID
focal_class.declarator: appType
focal_class.modifier: private
focal_class.original_string: private String appType;
focal_class.type: String
focal_class.var_name: appType
focal_class.declarator: eventType
focal_class.modifier: private
focal_class.original_string: private String eventType;
focal_class.type: String
focal_class.var_name: eventType
focal_class.declarator: deviceType
focal_class.modifier: private
focal_class.original_string: private String deviceType;
focal_class.type: String
focal_class.var_name: deviceType
focal_class.file: storm/storm-esper/src/main/java/com/neulion/stream/MessageBean.java
focal_class.identifier: MessageBean
focal_class.class_method_signature: MessageBean.parse(String line)
focal_class.full_signature: public static MessageBean parse(String line)
focal_class.identifier: parse
focal_class.modifiers: public static
focal_class.parameters: (String line)
focal_class.return: MessageBean
focal_class.signature: MessageBean parse(String line)
focal_class.class_method_signature: MessageBean.getParameter(String line, String name)
focal_class.full_signature: private static String getParameter(String line, String name)
focal_class.identifier: getParameter
focal_class.modifiers: private static
focal_class.parameters: (String line, String name)
focal_class.return: String
focal_class.signature: String getParameter(String line, String name)
focal_class.class_method_signature: MessageBean.getMsgID()
focal_class.full_signature: public long getMsgID()
focal_class.identifier: getMsgID
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getMsgID()
focal_class.class_method_signature: MessageBean.setMsgID(long msgID)
focal_class.full_signature: public void setMsgID(long msgID)
focal_class.identifier: setMsgID
focal_class.modifiers: public
focal_class.parameters: (long msgID)
focal_class.return: void
focal_class.signature: void setMsgID(long msgID)
focal_class.class_method_signature: MessageBean.getBitrate()
focal_class.full_signature: public long getBitrate()
focal_class.identifier: getBitrate
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getBitrate()
focal_class.class_method_signature: MessageBean.setBitrate(long bitrate)
focal_class.full_signature: public void setBitrate(long bitrate)
focal_class.identifier: setBitrate
focal_class.modifiers: public
focal_class.parameters: (long bitrate)
focal_class.return: void
focal_class.signature: void setBitrate(long bitrate)
focal_class.class_method_signature: MessageBean.getProductID()
focal_class.full_signature: public String getProductID()
focal_class.identifier: getProductID
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getProductID()
focal_class.class_method_signature: MessageBean.setProductID(String productID)
focal_class.full_signature: public void setProductID(String productID)
focal_class.identifier: setProductID
focal_class.modifiers: public
focal_class.parameters: (String productID)
focal_class.return: void
focal_class.signature: void setProductID(String productID)
focal_class.class_method_signature: MessageBean.getClientID()
focal_class.full_signature: public String getClientID()
focal_class.identifier: getClientID
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getClientID()
focal_class.class_method_signature: MessageBean.setClientID(String clientID)
focal_class.full_signature: public void setClientID(String clientID)
focal_class.identifier: setClientID
focal_class.modifiers: public
focal_class.parameters: (String clientID)
focal_class.return: void
focal_class.signature: void setClientID(String clientID)
focal_class.class_method_signature: MessageBean.getViewID()
focal_class.full_signature: public String getViewID()
focal_class.identifier: getViewID
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getViewID()
focal_class.class_method_signature: MessageBean.setViewID(String viewID)
focal_class.full_signature: public void setViewID(String viewID)
focal_class.identifier: setViewID
focal_class.modifiers: public
focal_class.parameters: (String viewID)
focal_class.return: void
focal_class.signature: void setViewID(String viewID)
focal_class.class_method_signature: MessageBean.getAppType()
focal_class.full_signature: public String getAppType()
focal_class.identifier: getAppType
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getAppType()
focal_class.class_method_signature: MessageBean.setAppType(String appType)
focal_class.full_signature: public void setAppType(String appType)
focal_class.identifier: setAppType
focal_class.modifiers: public
focal_class.parameters: (String appType)
focal_class.return: void
focal_class.signature: void setAppType(String appType)
focal_class.class_method_signature: MessageBean.getEventType()
focal_class.full_signature: public String getEventType()
focal_class.identifier: getEventType
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getEventType()
focal_class.class_method_signature: MessageBean.setEventType(String eventType)
focal_class.full_signature: public void setEventType(String eventType)
focal_class.identifier: setEventType
focal_class.modifiers: public
focal_class.parameters: (String eventType)
focal_class.return: void
focal_class.signature: void setEventType(String eventType)
focal_class.class_method_signature: MessageBean.getDeviceType()
focal_class.full_signature: public String getDeviceType()
focal_class.identifier: getDeviceType
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getDeviceType()
focal_class.class_method_signature: MessageBean.setDeviceType(String deviceType)
focal_class.full_signature: public void setDeviceType(String deviceType)
focal_class.identifier: setDeviceType
focal_class.modifiers: public
focal_class.parameters: (String deviceType)
focal_class.return: void
focal_class.signature: void setDeviceType(String deviceType)
focal_method.body: public static MessageBean parse(String line) throws UnsupportedEncodingException {
  		MessageBean bean = new MessageBean();
  		line = URLDecoder.decode(line, "utf-8");
  		try {
  			bean.setBitrate(Long.parseLong(MessageBean.getParameter(line, "bitrate")));
  		} catch (NumberFormatException e) {
  			bean.setBitrate(0);
  		}
  		bean.setClientID(MessageBean.getParameter(line, "clientID"));
  		try {
  			bean.setMsgID(Long.parseLong(MessageBean.getParameter(line, "msgID")));
  		} catch (NumberFormatException e) {
  			bean.setMsgID(0);
  		}
  		bean.setProductID(MessageBean.getParameter(line, "productID"));
  		bean.setViewID(MessageBean.getParameter(line, "viewID"));
  		bean.setAppType(MessageBean.getParameter(line, "appType"));
  		bean.setEventType(MessageBean.getParameter(line, "eventType"));
  		bean.setDeviceType(MessageBean.getParameter(line, "deviceType"));
  		return bean;
  	}
focal_method.class_method_signature: MessageBean.parse(String line)
focal_method.full_signature: public static MessageBean parse(String line)
focal_method.identifier: parse
focal_method.invocations: decode setBitrate parseLong getParameter setBitrate setClientID getParameter setMsgID parseLong getParameter setMsgID setProductID getParameter setViewID getParameter setAppType getParameter setEventType getParameter setDeviceType getParameter
focal_method.modifiers: public static
focal_method.parameters: (String line)
focal_method.return: MessageBean
focal_method.signature: MessageBean parse(String line)