Annotation Type ObjectsMatrixFormatter.Annotation
-
@Format(value=ObjectsMatrixFormatter.class, args="20") @Retention(RUNTIME) @Target({PARAMETER,ANNOTATION_TYPE}) public static @interface ObjectsMatrixFormatter.Annotation
Formatter annotation forObject
[][] objects.The length of each cell can be controlled by adding it as an argument, like:
@ObjectsMatrixFormatter.Annotation(args={"30"})
; the default is 20.If the argument cannot be parsed by
Integer.parseInt(String)
, then aNumberFormatException
will occur.- Author:
- aherscu
-
-
Element Detail
-
args
String[] args
- Returns:
- the arguments defined
- Default:
- {"20"}
-
-