2 * Meviz - Various tools collection to work with multimedia.
3 * Copyright (C) 2012 -- 2018, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of version 2 of the GNU General Public License
7 * as published by the Free Software Foundation.
10 package eu.svjatoslav.meviz.htmlindexer;
12 public class Constants {
14 public static final String DEFAULT_GALLERY_TITLE = "Gallery";
16 public static final String METADATA_FILE_NAME = "metadata_6.dat";
18 public static final String THUMBNAILS_DIRECTORY_NAME = ".thumbnails";
21 * If this string is found within index.html then it is assumed that the
22 * file is generated by current utility and therefore is safe to overwrite
23 * with the newer version.
25 * TODO: possibility of multiple patterns shall be present, to allow easy
28 * TODO: a safer way shall be used for detection, like specific pattern also
29 * in specific place within a file
31 public static final String HTML_MAGIC_STRING = "DirListGen";
33 public static final String HTML_MEMO = "Directory Listing Generator by Svjatoslav Agejenko. " +
34 "E-mail: svjatoslav@svjatoslav.eu, homepage: http://svjatoslav.eu";
36 public static final String[] SUPPORTED_IMAGE_EXTENSIONS = {
37 "jpg", "jpeg", "png", "gif"};
39 public static final String[] SUPPORTED_VIDEO_EXTENSIONS = {
40 "avi", "mp4", "mpeg", "mpg", "mkv", "flv", "ogv"};
42 public static final String THUMBNAIL_VERSION = "2";