Had fight with maven. It decided to block HTTP repositories.
[meviz.git] / src / main / java / eu / svjatoslav / meviz / htmlindexer / Constants.java
1 /*
2  * Meviz - Various tools collection to work with multimedia. Author: Svjatoslav Agejenko.
3  * This project is released under Creative Commons Zero (CC0) license.
4  */
5
6
7 package eu.svjatoslav.meviz.htmlindexer;
8
9 public class Constants {
10
11     public static final String DEFAULT_GALLERY_TITLE = "Gallery";
12
13     public static final String METADATA_FILE_NAME = "metadata_6.dat";
14
15     public static final String THUMBNAILS_DIRECTORY_NAME = ".thumbnails";
16
17     /**
18      * If this string is found within index.html then it is assumed that the
19      * file is generated by current utility and therefore is safe to overwrite
20      * with the newer version.
21      * <p>
22      * TODO: possibility of multiple patterns shall be present, to allow easy
23      * migration
24      * <p>
25      * TODO: a safer way shall be used for detection, like specific pattern also
26      * in specific place within a file
27      */
28     public static final String HTML_MAGIC_STRING = "DirListGen";
29
30     public static final String HTML_MEMO = "Directory Listing Generator by Svjatoslav Agejenko. " +
31             "E-mail: svjatoslav@svjatoslav.eu, homepage: http://svjatoslav.eu";
32
33     public static final String[] SUPPORTED_IMAGE_EXTENSIONS = {
34             "jpg", "jpeg", "png", "gif", "webp"};
35
36     public static final String[] SUPPORTED_VIDEO_EXTENSIONS = {
37             "avi", "mp4", "mpeg", "mpg", "mkv", "flv", "ogv"};
38
39     public static final String THUMBNAIL_VERSION = "2";
40
41 }