net.sourceforge.rtf.format.rtfcode
Class RTFCodeString

java.lang.Object
  extended by net.sourceforge.rtf.format.rtfcode.RTFCodeString
All Implemented Interfaces:
IRTFCode

public class RTFCodeString
extends java.lang.Object
implements IRTFCode

RTF code string implements IRTFCode

Version:
1.0.11
Author:
Angelo ZERR

Constructor Summary
RTFCodeString(java.lang.String content)
           
RTFCodeString(java.lang.String content, boolean escaped)
           
 
Method Summary
 java.lang.String getContent()
          Return RTF content.
 boolean isEscaped()
          Return true if content must be escaped (replace '{' character with "\{" and '}' with "\}")
 void setContent(java.lang.String content)
           
 void setEscaped(boolean escaped)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RTFCodeString

public RTFCodeString(java.lang.String content)

RTFCodeString

public RTFCodeString(java.lang.String content,
                     boolean escaped)
Method Detail

getContent

public java.lang.String getContent()
Description copied from interface: IRTFCode
Return RTF content.

Specified by:
getContent in interface IRTFCode
Returns:

setContent

public void setContent(java.lang.String content)

isEscaped

public boolean isEscaped()
Description copied from interface: IRTFCode
Return true if content must be escaped (replace '{' character with "\{" and '}' with "\}")

Specified by:
isEscaped in interface IRTFCode
Returns:

setEscaped

public void setEscaped(boolean escaped)


Copyright 2007 null. All Rights Reserved.