List of usage examples for org.springframework.beans.propertyeditors StringArrayPropertyEditor setAsText
@Override public void setAsText(String text) throws IllegalArgumentException
From source file:org.jdal.model.TableState.java
/** * Set visible columns as CSV String //from w w w .jav a2 s .c o m * @param value the CSV String */ public void setVisibleColumns(String value) { StringArrayPropertyEditor pe = new StringArrayPropertyEditor(); pe.setAsText(value); visibleColumns = Arrays.asList((String[]) pe.getValue()); }