X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Fmeviz%2Fhtmlindexer%2FConstants.java;h=4459416ad4ffbf674d6d760e9653b12b5693e7d5;hb=3a1c5919a7780346ae8deb302046234ed9e07997;hp=3167f3b8f70f953fa6fdc258edd01b0416300a04;hpb=50cb7085d553fdd82cd06806cd27b1675299f719;p=meviz.git diff --git a/src/main/java/eu/svjatoslav/meviz/htmlindexer/Constants.java b/src/main/java/eu/svjatoslav/meviz/htmlindexer/Constants.java index 3167f3b..4459416 100755 --- a/src/main/java/eu/svjatoslav/meviz/htmlindexer/Constants.java +++ b/src/main/java/eu/svjatoslav/meviz/htmlindexer/Constants.java @@ -1,7 +1,7 @@ /* * Meviz - Various tools collection to work with multimedia. - * Copyright (C) 2012, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu - * + * Copyright (C) 2012 -- 2018, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu + * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public License * as published by the Free Software Foundation. @@ -11,30 +11,30 @@ package eu.svjatoslav.meviz.htmlindexer; public class Constants { - public static final String DEFAULT_GALLERY_TITLE = "Gallery"; + public static final String DEFAULT_GALLERY_TITLE = "Gallery"; - public static final String METADATA_FILE_NAME = "metadata_6.dat"; + public static final String METADATA_FILE_NAME = "metadata_6.dat"; - public static final String THUMBNAILS_DIRECTORY_NAME = ".thumbnails"; + public static final String THUMBNAILS_DIRECTORY_NAME = ".thumbnails"; - /** - * If this string is found within index.html then it is assumed that the - * file is generated by current utility and therefore is safe to overwrite - * with the newer version. - * - * TODO: possibility of multiple patterns shall be present, to allow easy - * migration - * - * TODO: a safer way shall be used for detection, like specific pattern also - * in specific place within a file - */ - public static final String HTML_MAGIC_STRING = "DirListGen"; + /** + * If this string is found within index.html then it is assumed that the + * file is generated by current utility and therefore is safe to overwrite + * with the newer version. + *

+ * TODO: possibility of multiple patterns shall be present, to allow easy + * migration + *

+ * TODO: a safer way shall be used for detection, like specific pattern also + * in specific place within a file + */ + public static final String HTML_MAGIC_STRING = "DirListGen"; - public static final String HTML_MEMO = "Directory Listing Generator by Svjatoslav Agejenko. E-mail: svjatoslav@svjatoslav.eu, homepage: http://svjatoslav.eu"; + public static final String HTML_MEMO = "Directory Listing Generator by Svjatoslav Agejenko. E-mail: svjatoslav@svjatoslav.eu, homepage: http://svjatoslav.eu"; - public static final String[] SUPPORTED_IMAGE_EXTENSIONS = { "jpg", "jpeg", - "png", "gif" }; + public static final String[] SUPPORTED_IMAGE_EXTENSIONS = {"jpg", "jpeg", + "png", "gif"}; - public static final String THUMBNAIL_VERSION = "2"; + public static final String THUMBNAIL_VERSION = "2"; }