TextWireFormat (ActiveMQ 1.1 API)
Keywords: org.codehaus.activemq.message.TextWireFormat class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.codehaus.activemq.message
Class TextWireFormat

    java.lang.Object
      org.codehaus.activemq.message.WireFormat
          org.codehaus.activemq.message.TextWireFormat

Direct Known Subclasses:
  XStreamWireFormat

public abstract class TextWireFormat
extends WireFormat

Represents a text based WireFormat such as one that uses XML packets like the `XStreamWireFormat` or the `JabberWireFormat`

Version:
  $Revision: 1.1 $

Constructor Summary
`TextWireFormat()`

Method Summary
`abstract Packet` | `fromString(String text)` Converts the String into a Packet
`abstract String` | `toString(Packet packet)` Converts the packet into a String

Methods inherited from class org.codehaus.activemq.message.WireFormat
`canProcessWireFormatVersion, copy, fromBytes, fromBytes, getCurrentWireFormatVersion, readPacket, readPacket, readPacket, toBytes, writePacket, writePacket`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TextWireFormat

    public TextWireFormat()

Method Detail

### 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 Protique, Ltd.. All Rights Reserved.