2
package org.crosswire.common.config;
5
* A class to convert between strings and objects of a type
7
* <p><table border='1' cellPadding='3' cellSpacing='0'>
8
* <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
10
* Distribution Licence:<br />
11
* JSword is free software; you can redistribute it
12
* and/or modify it under the terms of the GNU General Public License,
13
* version 2 as published by the Free Software Foundation.<br />
14
* This program is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
* General Public License for more details.<br />
18
* The License is available on the internet
19
* <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, or by writing to:
20
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
21
* MA 02111-1307, USA<br />
22
* The copyright to this program is held by it's authors.
23
* </font></td></tr></table>
25
* @author Joe Walker [joe at eireneh dot com]
28
public class StringOptionsChoice extends ReflectedChoice implements MultipleChoice
30
public String[] getOptions()
35
public Class getConvertionClass()
40
public String convertToString(Object orig)
45
public Object convertToObject(String orig)
50
private String[] array = null;