ResourcesProvider
The ResourcesProvider
class is useful to create the resources directories and manage the main resources files such as the properties for the server
Author
N7ghtm4r3 - Tecknobit
Constructors
Link copied to clipboard
Constructor to init the ResourcesProvider class
Constructor to init the ResourcesProvider class
Properties
Link copied to clipboard
containerDirectory
the main container directory to createLink copied to clipboard
containers
the set of the containers folder which contains other subfolders to store the resourcesLink copied to clipboard
CUSTOM_CONFIGURATION_FILE_PATH
the path of the custom server configuration fileLink copied to clipboard
DEFAULT_CONFIGURATION_FILE_PATH
the default path where find the default server configurationLink copied to clipboard
subDirectories
the subdirectories of the containerDirectory folderFunctions
Link copied to clipboard
Method used to create the containerDirectory
Method used to create a new container directory
Link copied to clipboard
Method used to create a new resource directory
Link copied to clipboard
Method used to create the list of the subDirectories for the containerDirectory
Method used to create the list of the subDirectories for a container directory
Link copied to clipboard
Method used to create a new subdirectory for the containerDirectory
Method used to create a new subdirectory
Link copied to clipboard
Method used to format the pathname of a directory
Link copied to clipboard
Method used to get containers instance
Link copied to clipboard
Method used to print the error occurred during the creation of a resources directory