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.String
APPNAME
Appnamestatic java.lang.String
DB_DATA_TEMPLATE
Path to the database structure SQL Filestatic boolean
DB_STRUCTURE_INITIALIZED
Boolean which defines if the database structure was already initialized or notstatic java.lang.String
DB_STRUCTURE_TEMPLATE
Path to the database structure SQL Filestatic DefaultConfig
DEFAULT_CONFIG
Default Config Object for all general configuration valuesstatic java.awt.Dimension
DEFAULT_DIMENSION
Default Frame Dimensionstatic javax.swing.ImageIcon
FRAME_ICON
Frame Iconstatic java.lang.String
GITHUB_REPO_URL
GitHub Repo URLstatic javax.swing.ImageIcon
HEADER_IMAGEICON
Frame header image iconstatic java.lang.String
LATEST_VERSION_INSTALLER_URL
Server-URL to the latest installerstatic java.util.ArrayList<LaF>
LOOK_AND_FEEL_TPS
Bidirectional HashMap with all compatible LookAndFeels --> LIB: Apache Commons Collectionsstatic java.lang.String
MAIN_DATABASE_PATH
Path to the main SQLite databasestatic StorageBackend
STORAGE_BACKEND
Defines whether the StorageBackend and SQL is initialized or notstatic java.lang.String
STORAGE_PATH
Storagepath for configs, data & logsstatic java.lang.String
VERSION
App version stringstatic java.lang.String
VERSION_STRING_SERVER_URL
Latest 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()
-