Class BPSArchiveMessage

java.lang.Object
  extended byBPSArchiveMessage

public class BPSArchiveMessage
extends java.lang.Object

An archive message format that supports easy export.

Author:
Brian Smyth

Constructor Summary
BPSArchiveMessage(java.lang.String n, java.lang.String t)
           
 
Method Summary
 void appendText(java.lang.String txt, java.lang.String sep)
          Add more text to the message.
 java.lang.String getName()
           
 java.lang.String getText()
           
 void squish()
          Get rid of extra spaces in the message text (seems to be caused by something strange bewteen the Java and Delphi versions).
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BPSArchiveMessage

public BPSArchiveMessage(java.lang.String n,
                         java.lang.String t)
Parameters:
n - The message's name
t - The message's text
Method Detail

getName

public java.lang.String getName()
Returns:
The message's name.

getText

public java.lang.String getText()
Returns:
The message's text.

appendText

public void appendText(java.lang.String txt,
                       java.lang.String sep)
Add more text to the message.

Parameters:
txt - The additional text.
sep - The separator string.

toString

public java.lang.String toString()
Returns:
A string representation of the message.

squish

public void squish()
Get rid of extra spaces in the message text (seems to be caused by something strange bewteen the Java and Delphi versions).