Package de.joergdev.mosy.api.client
Class Resources
java.lang.Object
de.joergdev.mosy.api.client.Resources
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringMOSY_API_ENDPOINT If system property is not set, api endpoint of mosy_api_client.properties is used. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringGet the api endpoint from system-property (SYSTEM_PROPERTY_API_ENDPOINTor from mosy_api_client.properties.static StringgetErrorMessage(String key, String... details) static StringgetProperty(String key)
-
Field Details
-
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
Get the api endpoint from system-property (SYSTEM_PROPERTY_API_ENDPOINTor from mosy_api_client.properties.- Returns:
- String - API endpoint (URL)
-
getProperty
-
getErrorMessage
-