org.echarts.servlet.sip.utilities
Class StatusParser

java.lang.Object
  extended by org.echarts.servlet.sip.utilities.StatusParser

public class StatusParser
extends java.lang.Object

Class to parse the body of a Status message.


Constructor Summary
StatusParser(java.lang.String content)
          Create a StatusParser with the given body content
 
Method Summary
 java.util.Properties getProperties()
          Get the properties of the parsed status message.
 java.lang.String getType()
          Get the type of the parsed status message.
static void main(java.lang.String[] args)
          For testing.
 java.lang.String toString()
          For testing with main().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatusParser

public StatusParser(java.lang.String content)
             throws StatusParseException
Create a StatusParser with the given body content

Parameters:
content -
Throws:
StatusParseException
Method Detail

getType

public java.lang.String getType()
Get the type of the parsed status message.

Returns:
type

getProperties

public java.util.Properties getProperties()
Get the properties of the parsed status message.

Returns:
properties

toString

public java.lang.String toString()
For testing with main().

Overrides:
toString in class java.lang.Object

main

public static void main(java.lang.String[] args)
                 throws StatusParseException
For testing.

Parameters:
args -
Throws:
StatusParseException