MediaSetVideoExtension.java
877 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* org.jetbrains.annotations.NotNull
*/
package com.scene7.is.ps.provider.fvctx;
import java.util.HashSet;
import java.util.Set;
import org.jetbrains.annotations.NotNull;
public enum MediaSetVideoExtension {
MP3,
MP4,
FLV,
F4V,
THREEGP,
SWF,
XML,
OGG,
OGV,
MOV,
QT,
WMV,
ASF,
MPG,
VOB,
M2V,
MP2,
M4V,
AVI,
WEBM,
MXF,
MTS,
MKV,
R3D,
RM,
RAM,
FLAC,
MJ2;
public static final Set<String> VIDEO_EXTENSIONS;
private MediaSetVideoExtension() {
}
public static boolean isVideoFileExtension(@NotNull String extension) {
return VIDEO_EXTENSIONS.contains(extension.toUpperCase());
}
static {
VIDEO_EXTENSIONS = new HashSet<String>(){};
}
}