public static enum SubtitlesCore.SubtitleFormat extends java.lang.Enum<SubtitlesCore.SubtitleFormat>
Enum Constant and Description |
---|
GROUPED
media objects will appear grouped by timecodes, combined in a single line
An example in WEBVTT format:
|
INDIVIDUAL
media objects will appear in individual lines, with one timecode sequence per media object
An example in WEBVTT format:
|
Modifier and Type | Method and Description |
---|---|
static SubtitlesCore.SubtitleFormat |
fromFormatString(java.lang.String value) |
java.lang.String |
toFormatString() |
static SubtitlesCore.SubtitleFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubtitlesCore.SubtitleFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubtitlesCore.SubtitleFormat GROUPED
00:44.000 --> 01:19.000 Keyword1, Keyword2 01:24.000 --> 05:00.000 Keyword1, Keyword3
public static final SubtitlesCore.SubtitleFormat INDIVIDUAL
00:44.000 --> 01:19.000 Keyword1 00:44.000 --> 01:19.000 Keyword2 01:24.000 --> 05:00.000 Keyword1 01:24.000 --> 05:00.000 Keyword3
public static SubtitlesCore.SubtitleFormat[] values()
for (SubtitlesCore.SubtitleFormat c : SubtitlesCore.SubtitleFormat.values()) System.out.println(c);
public static SubtitlesCore.SubtitleFormat 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.SubtitleFormat 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.