Class ProgramResourceManager
java.lang.Object
com.jackmeng.halcyoninae.halcyon.utils.ProgramResourceManager
A constant defined class that holds
values for any external resources, such as
the properties file for the program config.
- Since:
- 3.0
- Author:
- Jack Meng
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
if false, a loop will disable a shuffle if both are activated.static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final Property[]
static final String[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Map<String,
PropertyValidator> static String
Writes a bufferedimage to the resource folder.
-
Field Details
-
KEY_USER_DEFAULT_FOLDER
- See Also:
-
KEY_USE_MEDIA_TITLE_AS_INFOVIEW_HEADER
- See Also:
-
KEY_INFOVIEW_BACKDROP_USE_GREYSCALE
- See Also:
-
KEY_INFOVIEW_BACKDROP_USE_GRADIENT
- See Also:
-
KEY_PROGRAM_FORCE_OPTIMIZATION
- See Also:
-
KEY_PROGRAM_HIDPI_VALUE
- See Also:
-
KEY_USER_DSIABLE_CLI
- See Also:
-
KEY_USER_USE_DISCORD_RPC
- See Also:
-
KEY_USER_CHAR_SET_WRITE_TABLE
- See Also:
-
KEY_AUDIO_DEFAULT_BUFFER_SIZE
- See Also:
-
KEY_MINI_PLAYER_DEFAULT_BG_ALPHA
- See Also:
-
KEY_TIME_CONTROL_FAST_WARD_MS_INCREMENT
- See Also:
-
KEY_TIME_CONTROL_BACK_WARD_MS_INCREMENT
- See Also:
-
KEY_USER_PROGRAM_COLOR_THEME
- See Also:
-
KEY_INFOVIEW_BACKDROP_BLUR_FACTOR
- See Also:
-
KEY_INFOVIEW_BACKDROP_BLUR_STYLE
- See Also:
-
KEY_USER_PROGRAM_USE_OPENGL
- See Also:
-
KEY_AUDIO_LOOP_SLAVE
if false, a loop will disable a shuffle if both are activated. if true, a loop will be disabled if a shuffle is activated (AKA the shuffle is the master).- See Also:
-
propertiesList
-
FILE_SLASH
- See Also:
-
PROGRAM_RESOURCE_FOLDER
- See Also:
-
PROGRAM_RESOURCE_FILE_PROPERTIES
- See Also:
-
RESOURCE_SUBFOLDERS
-
DEFAULT_ARTWORK_FILE_NAME
- See Also:
-
-
Constructor Details
-
ProgramResourceManager
private ProgramResourceManager()
-
-
Method Details
-
getProgramDefaultProperties
- Returns:
- The Map of default properties
-
getAllowedProperties
- Returns:
- The map of the allowed properties
-
writeBufferedImageToBin
Writes a bufferedimage to the resource folder.- Parameters:
img
- An image to write; a BufferedImage instance- Returns:
- The string representing the location of the image (ABSOLUTE PATH)
-