Enum SXFileType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<SXFileType>

    public enum SXFileType
    extends java.lang.Enum<SXFileType>
    文件类型
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      Audio
      音频文件
      Gif
      Gif 图片
      Image
      图片
      Package
      资源包,一般为 VE Exporter 导出的特效模板包
      UnknownFile
      未知类型
      Video
      视频文件
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int value  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static SXFileType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static SXFileType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • UnknownFile

        public static final SXFileType UnknownFile
        未知类型
      • Package

        public static final SXFileType Package
        资源包,一般为 VE Exporter 导出的特效模板包
      • Audio

        public static final SXFileType Audio
        音频文件
      • Video

        public static final SXFileType Video
        视频文件
      • Image

        public static final SXFileType Image
        图片
      • Gif

        public static final SXFileType Gif
        Gif 图片
    • Field Detail

      • value

        public final int value
    • Method Detail

      • values

        public static SXFileType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SXFileType c : SXFileType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SXFileType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null