Example usage for org.springframework.beans.propertyeditors StringArrayPropertyEditor getValue

List of usage examples for org.springframework.beans.propertyeditors StringArrayPropertyEditor getValue

Introduction

In this page you can find the example usage for org.springframework.beans.propertyeditors StringArrayPropertyEditor getValue.

Prototype

public Object getValue() 

Source Link

Document

Gets the value of the property.

Usage

From source file:org.jdal.model.TableState.java

/**
 * Set visible columns as CSV String //from   ww w . j  ava 2 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());
}