Enum Class FileTypeEnum

java.lang.Object
java.lang.Enum<FileTypeEnum>
com.yuzhyn.azylee.core.ios.files.FileTypeEnum
所有已实现的接口:
Serializable, Comparable<FileTypeEnum>, Constable

public enum FileTypeEnum extends Enum<FileTypeEnum>
  • 枚举常量详细资料

    • IMAGE

      public static final FileTypeEnum IMAGE
      图片文件类型
    • MUSIC

      public static final FileTypeEnum MUSIC
      音频文件类型
    • VIDEO

      public static final FileTypeEnum VIDEO
      视频文件类型
    • DOC

      public static final FileTypeEnum DOC
      文档文件类型
    • UNKNOWN

      public static final FileTypeEnum UNKNOWN
  • 方法详细资料

    • values

      public static FileTypeEnum[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      返回:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FileTypeEnum valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getDesc

      public String getDesc()
    • setDesc

      public void setDesc(String desc)
    • getExts

      public String[] getExts()
    • setExts

      public void setExts(String[] exts)