ResourcesConfig

The ResourcesConfig represents the configuration used for the static folders of the resources provided by the server

Author

N7ghtm4r3 - Tecknobit

Since

1.1.0

Constructors

Link copied to clipboard
constructor()
Default constructor used to instantiate the configuration
constructor(hConfig: JsonHelper)
Constructor used to instantiate the configuration

Properties

Link copied to clipboard
createResourcesFolder whether the RESOURCES_KEY must be created, if not specified will be created as default
Link copied to clipboard
val RESOURCES_FOLDER_KEY: String = "resources_folder"
RESOURCES_FOLDER_KEY the constant value for the resources_folder property
Link copied to clipboard
subdirectories the subdirectories to create and place under the RESOURCES_KEY folder
Link copied to clipboard
val SUBDIRECTORIES_KEY: String = "subdirectories"
SUBDIRECTORIES_KEY the constant value for the subdirectories property

Functions

Link copied to clipboard
Method used to get the createResourcesFolder instance