public static enum SubtitlesCore.FileFormat extends java.lang.Enum<SubtitlesCore.FileFormat>
Enum Constant and Description |
---|
WEBVTT
File format for WebVTT
WebVTT: The Web Video Text Tracks Format
|
Modifier and Type | Method and Description |
---|---|
static SubtitlesCore.FileFormat |
fromFormatString(java.lang.String value) |
java.lang.String |
toFormatString() |
static SubtitlesCore.FileFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubtitlesCore.FileFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubtitlesCore.FileFormat WEBVTT
public static SubtitlesCore.FileFormat[] values()
for (SubtitlesCore.FileFormat c : SubtitlesCore.FileFormat.values()) System.out.println(c);
public static SubtitlesCore.FileFormat valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static SubtitlesCore.FileFormat fromFormatString(java.lang.String value) throws java.lang.IllegalArgumentException
value
- java.lang.IllegalArgumentException
- on bad valuepublic java.lang.String toFormatString()
Copyright © 2015 Tampere University of Technology, Pori Department.