2 * Meviz - Various tools collection to work with multimedia. Author: Svjatoslav Agejenko.
3 * This project is released under Creative Commons Zero (CC0) license.
7 package eu.svjatoslav.meviz.htmlindexer;
9 public class Constants {
11 public static final String DEFAULT_GALLERY_TITLE = "Gallery";
13 public static final String METADATA_FILE_NAME = "metadata_6.dat";
15 public static final String THUMBNAILS_DIRECTORY_NAME = ".thumbnails";
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.
22 * TODO: possibility of multiple patterns shall be present, to allow easy
25 * TODO: a safer way shall be used for detection, like specific pattern also
26 * in specific place within a file
28 public static final String HTML_MAGIC_STRING = "DirListGen";
30 public static final String HTML_MEMO = "Directory Listing Generator by Svjatoslav Agejenko. " +
31 "E-mail: svjatoslav@svjatoslav.eu, homepage: http://svjatoslav.eu";
33 public static final String[] SUPPORTED_IMAGE_EXTENSIONS = {
34 "jpg", "jpeg", "png", "gif"};
36 public static final String[] SUPPORTED_VIDEO_EXTENSIONS = {
37 "avi", "mp4", "mpeg", "mpg", "mkv", "flv", "ogv"};
39 public static final String THUMBNAIL_VERSION = "2";