Doesn't work perfectly yet, because the height/width sometimes changes by one or two pixels.
31 lines
713 B
Java
31 lines
713 B
Java
package org.lucares.pdbui;
|
|
|
|
public interface PropertyKeys {
|
|
|
|
/**
|
|
* The path for generated images
|
|
*/
|
|
String PATH_GENERATED_IMAGES = "path.output";
|
|
|
|
/**
|
|
* Path for temporary files
|
|
*/
|
|
String TMP_DIR = "path.tmp";
|
|
|
|
/**
|
|
* The number of seconds generated images shall be cached.
|
|
*/
|
|
String CACHE_IMAGES_DURATION_SECONDS = "cache.images.duration.seconds";
|
|
|
|
/**
|
|
* Default value for {@link PropertyKeys#CACHE_IMAGES_DURATION_SECONDS}
|
|
*/
|
|
String CACHE_IMAGES_DURATION_SECONDS_DEFAULT = "3600";
|
|
|
|
/**
|
|
* Indicates whether or not this instance is running in production. This
|
|
* property is used to switch Vue.js into production or development mode.
|
|
*/
|
|
String PRODUCTION_MODE = "mode.production";
|
|
}
|