|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.rtf.format.rtfcode.RTFCodeString
public class RTFCodeString
RTF code string implements IRTFCode
| 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 |
|---|
public RTFCodeString(java.lang.String content)
public RTFCodeString(java.lang.String content,
boolean escaped)
| Method Detail |
|---|
public java.lang.String getContent()
IRTFCode
getContent in interface IRTFCodepublic void setContent(java.lang.String content)
public boolean isEscaped()
IRTFCode
isEscaped in interface IRTFCodepublic void setEscaped(boolean escaped)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||