Package com.shixing.sxedit.types
Enum SXFileType
- java.lang.Object
-
- java.lang.Enum<SXFileType>
-
- com.shixing.sxedit.types.SXFileType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SXFileType>
public enum SXFileType extends java.lang.Enum<SXFileType>
文件类型
-
-
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.
-
-
-
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 图片
-
-
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 namejava.lang.NullPointerException
- if the argument is null
-
-