Rtf字符串解析Android JAVA可能吗?

时间:2016-10-12 13:13:30

标签: android parsing textview richtextbox rtf

使用WebService并获取RFT字符串格式。我无法显示可编辑的textview或webview。

这在java中是可能的吗?

RTF字符串转换或解析是可能的吗?

String RTFString = "{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf250
{\fonttbl\f0\fnil\fcharset0 LucidaGrande;\f1\fnil\fcharset0 Monaco;}
{\colortbl;\red255\green255\blue255;}
\deftab720
\pard\pardeftab720\sl264\slmult1\sb260\ql\qnatural

\f0\fs26 \cf0 You will need to relaunch Xcode after this install to make it load the plugin.\
This package installs both version 2.x and 1.x of DMD, but you can customize the install to get only one or the other.\
With the two versions installed, D for Xcode uses DMD\'a02.x by default. You can override this setting in your Xcode project on a per-target basis by creating a custom build rule in each target\'92s settings. Alternatively, you can change the system default by typing this command from the terminal:\
\pard\pardeftab720\li560\sl264\slmult1\sb260\ql\qnatural

\f1\fs22 \cf0 sudo setdmd 1
\f0\fs26 \
\pard\pardeftab720\sl264\slmult1\sb260\ql\qnatural
\cf0 This will change the symlinks to make the 
\f1\fs22 dmd
\f0\fs26  command point to 
\f1\fs22 dmd1
\f0\fs26 .}";

最诚挚的问候。

0 个答案:

没有答案