org.codehaus.activemq.io
Class TextWireFormat
java.lang.Object
org.codehaus.activemq.io.AbstractWireFormat
org.codehaus.activemq.io.TextWireFormat
- All Implemented Interfaces:
- WireFormat
- public abstract class TextWireFormat
- extends AbstractWireFormat
Represents a text based WireFormat such as one that uses XML packets like the
org.codehaus.activemq.transport.xstream.XStreamWireFormat
or the
org.codehaus.activemq.transport.jabber.JabberWireFormat
- Version:
- $Revision: 1.1 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextWireFormat
public TextWireFormat()
toString
public abstract String toString(Packet packet)
throws JMSException
- Converts the packet into a String
- Throws:
JMSException
fromString
public abstract Packet fromString(String text)
throws JMSException
- Converts the String into a Packet
- Throws:
JMSException
Copyright © 2004-2005 Protique, Ltd.. All Rights Reserved.