Class AppProperties
java.lang.Object
de.hebkstudents.recipemanager.storage.AppProperties
public class AppProperties
extends java.lang.Object
Class for general, static & dynamic, properties which are accessed during runtime and can not be changed by user
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringAPPNAMEAppnamestatic java.lang.StringDB_DATA_TEMPLATEPath to the database structure SQL Filestatic booleanDB_STRUCTURE_INITIALIZEDBoolean which defines if the database structure was already initialized or notstatic java.lang.StringDB_STRUCTURE_TEMPLATEPath to the database structure SQL Filestatic DefaultConfigDEFAULT_CONFIGDefault Config Object for all general configuration valuesstatic java.awt.DimensionDEFAULT_DIMENSIONDefault Frame Dimensionstatic javax.swing.ImageIconFRAME_ICONFrame Iconstatic java.lang.StringGITHUB_REPO_URLGitHub Repo URLstatic javax.swing.ImageIconHEADER_IMAGEICONFrame header image iconstatic java.lang.StringLATEST_VERSION_INSTALLER_URLServer-URL to the latest installerstatic java.util.ArrayList<LaF>LOOK_AND_FEEL_TPSBidirectional HashMap with all compatible LookAndFeels --> LIB: Apache Commons Collectionsstatic java.lang.StringMAIN_DATABASE_PATHPath to the main SQLite databasestatic StorageBackendSTORAGE_BACKENDDefines whether the StorageBackend and SQL is initialized or notstatic java.lang.StringSTORAGE_PATHStoragepath for configs, data & logsstatic java.lang.StringVERSIONApp version stringstatic java.lang.StringVERSION_STRING_SERVER_URLLatest Version String Server URL -
Constructor Summary
Constructors Constructor Description AppProperties() -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
APPNAME
public static final java.lang.String APPNAMEAppname- See Also:
- Constant Field Values
-
FRAME_ICON
public static final javax.swing.ImageIcon FRAME_ICONFrame Icon -
DEFAULT_DIMENSION
public static final java.awt.Dimension DEFAULT_DIMENSIONDefault Frame Dimension -
HEADER_IMAGEICON
public static final javax.swing.ImageIcon HEADER_IMAGEICONFrame header image icon -
STORAGE_PATH
public static final java.lang.String STORAGE_PATHStoragepath for configs, data & logs -
VERSION
public static final java.lang.String VERSIONApp version string- See Also:
- Constant Field Values
-
VERSION_STRING_SERVER_URL
public static final java.lang.String VERSION_STRING_SERVER_URLLatest Version String Server URL- See Also:
- Constant Field Values
-
LATEST_VERSION_INSTALLER_URL
public static final java.lang.String LATEST_VERSION_INSTALLER_URLServer-URL to the latest installer- See Also:
- Constant Field Values
-
GITHUB_REPO_URL
public static final java.lang.String GITHUB_REPO_URLGitHub Repo URL- See Also:
- Constant Field Values
-
MAIN_DATABASE_PATH
public static final java.lang.String MAIN_DATABASE_PATHPath to the main SQLite database -
DB_STRUCTURE_TEMPLATE
public static final java.lang.String DB_STRUCTURE_TEMPLATEPath to the database structure SQL File- See Also:
- Constant Field Values
-
DB_DATA_TEMPLATE
public static final java.lang.String DB_DATA_TEMPLATEPath to the database structure SQL File- See Also:
- Constant Field Values
-
LOOK_AND_FEEL_TPS
Bidirectional HashMap with all compatible LookAndFeels --> LIB: Apache Commons Collections -
DB_STRUCTURE_INITIALIZED
public static boolean DB_STRUCTURE_INITIALIZEDBoolean which defines if the database structure was already initialized or not -
DEFAULT_CONFIG
Default Config Object for all general configuration values -
STORAGE_BACKEND
Defines whether the StorageBackend and SQL is initialized or not
-
-
Constructor Details
-
AppProperties
public AppProperties()
-