Class Resources

java.lang.Object
de.joergdev.mosy.api.client.Resources

public class Resources extends Object
  • Field Details

    • SYSTEM_PROPERTY_API_ENDPOINT

      public static final String SYSTEM_PROPERTY_API_ENDPOINT
       MOSY_API_ENDPOINT
       
       If system property is not set, api endpoint of mosy_api_client.properties is used.
       
      See Also:
  • Constructor Details

    • Resources

      public Resources()
  • Method Details

    • getApiEndpoint

      public static String getApiEndpoint()
      Get the api endpoint from system-property (SYSTEM_PROPERTY_API_ENDPOINT or from mosy_api_client.properties.
      Returns:
      String - API endpoint (URL)
    • getProperty

      public static String getProperty(String key)
    • getErrorMessage

      public static String getErrorMessage(String key, String... details)