X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Fmeviz%2Fhtmlindexer%2FConstants.java;h=1cfbe1e5721089769492669392f491b6125dfb9b;hb=2474cebc58b1a54bf66f8d4455908876dcae88f5;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..1cfbe1e 100755 --- a/src/main/java/eu/svjatoslav/meviz/htmlindexer/Constants.java +++ b/src/main/java/eu/svjatoslav/meviz/htmlindexer/Constants.java @@ -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"; }