- Author
- costi
- Version
- Revision:
- 1.0
ro.allevo.fintpws.util.ResourcesUtils.ResourcesUtils |
( |
| ) |
|
|
inlineprivate |
static Object ro.allevo.fintpws.util.ResourcesUtils.blankIfNull |
( |
Object |
object | ) |
|
|
inlinestatic |
Method blankIfNull.
- Parameters
-
- Returns
- Object
static JSONObject ro.allevo.fintpws.util.ResourcesUtils.createLink |
( |
JSONObject |
baseObject, |
|
|
String |
href, |
|
|
String |
rel |
|
) |
| throws JSONException |
|
inlinestatic |
Method createLink.
- Parameters
-
baseObject | JSONObject |
href | String |
rel | String |
- Returns
- JSONObject
- Exceptions
-
static JSONObject ro.allevo.fintpws.util.ResourcesUtils.createParentLink |
( |
JSONObject |
baseObject, |
|
|
String |
rel, |
|
|
UriInfo |
uriInfo |
|
) |
| throws JSONException |
|
inlinestatic |
Method createParentLink.
Create link to the parent resource
- Parameters
-
baseObject | JSONObject |
rel | String |
uriInfo | UriInfo |
- Returns
- JSONObject
- Exceptions
-
static String ro.allevo.fintpws.util.ResourcesUtils.getClassDescription |
( |
Class<?> |
c | ) |
|
|
inlinestatic |
static String ro.allevo.fintpws.util.ResourcesUtils.getClassDescription |
( |
String |
className | ) |
|
|
inlinestatic |
static String ro.allevo.fintpws.util.ResourcesUtils.getQueryParamValue |
( |
UriInfo |
uriInfo, |
|
|
String |
queryParamName |
|
) |
| |
|
inlinestatic |
Method getQueryParamValue.
Returns the value of the query parameter named queryParamName from URI uriInfo.
- Parameters
-
uriInfo | UriInfo |
queryParamName | String |
- Returns
- String Null if the parameter with name queryParamName can not be found.
static Timestamp ro.allevo.fintpws.util.ResourcesUtils.getTimestamp |
( |
String |
stringTime | ) |
throws ParseException |
|
inlinestatic |
Method asTimestampMandatory.
Converts a string value to a timestamp.
- Parameters
-
- Returns
- Timestamp Returns curent time if the input string is null or empty.
- Exceptions
-
static Timestamp ro.allevo.fintpws.util.ResourcesUtils.optTimestamp |
( |
String |
stringTime | ) |
throws ParseException |
|
inlinestatic |
Method optTimestamp.
Converts a string value to a timestamp.
- Parameters
-
- Returns
- Timestamp Returns null if the input string is null or empty.
- Exceptions
-
Logger ro.allevo.fintpws.util.ResourcesUtils.logger |
|
staticprivate |
Initial value:
Field logger.
The documentation for this class was generated from the following file: