public class Colours extends Object
| Constructor and Description |
|---|
Colours() |
| Modifier and Type | Method and Description |
|---|---|
org.codehaus.jettison.json.JSONArray |
getColourListAsJSON(String filter)
Returns a list of colours as a JSON array.
|
String |
getColourListAsText(String filter)
Returns a list of colours as plain text, one colour per line.
|
static List<String> |
getMatchingColours(String filter)
Returns a list of colours.
|
public String getColourListAsText(String filter)
filter - If not empty, constrains the list of colours to only
those that contain this substringpublic org.codehaus.jettison.json.JSONArray getColourListAsJSON(String filter)
filter - If not empty, constrains the list of colours to only
those that contain this substringCopyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.