set the property for single value string array data type using java
Hi,
How to set the property for single value string array data type using java in AEM.
--------------------------------------------------------
eg: AEM Properties
Name:color
Type:String[]
Value: ["yellow"]
-------------------------------------------------------
Java code:
content.setProperty(paraname, paramvalue[0]);
------------------------------------------------------
Please provide the solutions
Thanks in advance,