Package io.rong.imkit.feature.forward

## Class CombineMessageUtils

- All Implemented Interfaces:

      public class CombineMessageUtils

  读取template.json模板,根据模板将消息队列转为网页文本,并生成文件

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public String` | `darkStyle` |
    `public String` | `fileIconStyle` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getDarkStyle()` | 获取暗黑模式样式
    `void` | `setDarkStyle(String darkStyle)` | 设置暗黑模式样式
    `String` | `getFileIconStyle()` | 获取文件消息 Icon 透明修复样式
    `void` | `setFileIconStyle(String fileIconStyle)` | 设置文件消息 Icon 透明修复样式
    `static CombineMessageUtils` | `getInstance()` |
    `String` | `getCombineFilePath(String uri)` |
    `String` | `getCombineFileDirectory()` |
    `String` | `optString(String str)` |
    `String` | `optString(Object object)` |
    `void` | `setStyle(String STYLE)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

  - ### Method Detail

    - #### getDarkStyle

           String getDarkStyle()

      获取暗黑模式样式

    - #### setDarkStyle

           void setDarkStyle(String darkStyle)

      设置暗黑模式样式

    - #### getFileIconStyle

           String getFileIconStyle()

      获取文件消息 Icon 透明修复样式

    - #### setFileIconStyle

           void setFileIconStyle(String fileIconStyle)

      设置文件消息 Icon 透明修复样式

    - #### getInstance

           static CombineMessageUtils getInstance()

    - #### getCombineFilePath

           String getCombineFilePath(String uri)

    - #### getCombineFileDirectory

           String getCombineFileDirectory()

    - #### optString

           String optString(String str)

    - #### optString

           String optString(Object object)

    - #### setStyle

           void setStyle(String STYLE)