public class DateFormatMethodExecutor
extends java.lang.Object
implements org.springframework.expression.MethodExecutor
MethodExecutor handling formatting using a SimpleDateFormat.| Constructor and Description |
|---|
DateFormatMethodExecutor()
Instantiates a new date format method executor.
|
DateFormatMethodExecutor(java.lang.String key)
Instantiates a new date format method executor.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.expression.TypedValue |
execute(org.springframework.expression.EvaluationContext context,
java.lang.Object target,
java.lang.Object... arguments) |
protected java.lang.String |
getKey()
Gets the key for timestamp if defined.
|
public DateFormatMethodExecutor()
public DateFormatMethodExecutor(java.lang.String key)
key - the key for timestamppublic org.springframework.expression.TypedValue execute(org.springframework.expression.EvaluationContext context,
java.lang.Object target,
java.lang.Object... arguments)
throws org.springframework.expression.AccessException
execute in interface org.springframework.expression.MethodExecutororg.springframework.expression.AccessExceptionprotected java.lang.String getKey()