com.liferay.util
Class Autocomplete
java.lang.Object
com.liferay.util.Autocomplete
public class Autocomplete
- extends Object
Method Summary |
static JSONArray |
arrayToJson(String[][] array,
int max)
|
static JSONArray |
arrayToJson(String[] array,
int max)
|
static String |
arrayToXml(String[][] array,
int max)
|
static String |
arrayToXml(String[] array,
int max)
|
static String[][] |
listToArray(List<?> list,
String textParam,
String valueParam)
|
static JSONArray |
listToJson(List<?> list,
String textParam,
String valueParam)
|
static String |
listToXml(List<?> list,
String textParam,
String valueParam)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Autocomplete
public Autocomplete()
arrayToJson
public static JSONArray arrayToJson(String[] array,
int max)
arrayToJson
public static JSONArray arrayToJson(String[][] array,
int max)
arrayToXml
public static String arrayToXml(String[] array,
int max)
arrayToXml
public static String arrayToXml(String[][] array,
int max)
listToArray
public static String[][] listToArray(List<?> list,
String textParam,
String valueParam)
listToJson
public static JSONArray listToJson(List<?> list,
String textParam,
String valueParam)
listToXml
public static String listToXml(List<?> list,
String textParam,
String valueParam)