Package 

Class ResourceLoader

  • All Implemented Interfaces:

    
    public final class ResourceLoader
    
                        

    This utility class provides a working file loading everywhere in the project, and both in source running and jar running.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static String getStringRes(String key) Looks up on the property files and returns the correct String.
      static String getStringRes(String key, Locale locale) Looks up on the property files and returns the correct String.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getStringRes

         static String getStringRes(String key)

        Looks up on the property files and returns the correct String.

        Parameters:
        key - the key
      • getStringRes

         static String getStringRes(String key, Locale locale)

        Looks up on the property files and returns the correct String.

        Parameters:
        key - the key
        locale - the locale