Package io.rong.imkit.utils

## Class GlideUtils

- All Implemented Interfaces:

      public class GlideUtils

  Glide工具类

  Author:

    chenjialong

- - ### Nested Class Summary

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

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `GlideUtils()` |

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `static Object` | `buildAuthUrl(Uri originalUri, MediaUploadAuthorInfo auth)` | 如果是私有云，则需要获取私有云Token放到图片请求header中
    `static Object` | `buildGlideUrl(String url, Map<String, String> headers)` | Glide加载图片和头像前，先处理拦截器
    `static String` | `getUrlName(String url)` | 获取图片url的文件名

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

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

- - ### Constructor Detail

    - #### GlideUtils

          GlideUtils()

  - ### Method Detail

    - #### buildAuthUrl

           static Object buildAuthUrl(Uri originalUri, MediaUploadAuthorInfo auth)

      如果是私有云，则需要获取私有云Token放到图片请求header中

    - #### buildGlideUrl

           static Object buildGlideUrl(String url, Map<String, String> headers)

      Glide加载图片和头像前，先处理拦截器

      Parameters:
        `url` - 图片加载地址
        `headers` - 图片加载header

    - #### getUrlName

           static String getUrlName(String url)

      获取图片url的文件名

      Parameters:
        `url` - 图片地址
      Returns:

        图片url的文件名