Interface PropertiesLoader

All Known Implementing Classes:
Auth, LocalConfig, LogIn, LogOut, QuoteService, StartupServlet

public interface PropertiesLoader
This interface contains a default method that can be used anywhere a Properties object is needed to be loaded.
Author:
Eric Knapp
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.apache.logging.log4j.Logger
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default Properties
    loadProperties(String propertiesFilePath)
    This default method will load a properties file into a Properties instance and return it.
  • Field Details

    • logger

      static final org.apache.logging.log4j.Logger logger
  • Method Details

    • loadProperties

      default Properties loadProperties(String propertiesFilePath)
      This default method will load a properties file into a Properties instance and return it.
      Parameters:
      propertiesFilePath - a path to a file on the java classpath list
      Returns:
      a populated Properties instance or an empty Properties instance if the file path was not found.