Modifier and Type | Method and Description |
---|---|
static String |
cleanUp(String text) |
static boolean |
contains(String[] array,
String value) |
static List<String> |
csvToList(String str) |
static byte[] |
fetchUrl(URL url) |
static String |
listToCsv(List<String> list) |
static void |
loadCss(Style style,
String cssSource,
String viewName) |
static void |
loadCss(Style style,
String cssSource,
String viewName,
boolean merge)
Parses and loads CSS resources into given style element.
|
static void |
loadProperties(Properties properties,
String resourceName) |
static byte[] |
readResourceAsBytes(String path) |
static String |
readResourceAsString(String path) |
static void |
writeFile(URL url,
String text) |
public static List<String> csvToList(String str) throws IOException
IOException
public static byte[] readResourceAsBytes(String path) throws IOException
IOException
public static String readResourceAsString(String path) throws IOException
IOException
public static void writeFile(URL url, String text) throws IOException
IOException
public static void loadProperties(Properties properties, String resourceName)
public static void loadCss(Style style, String cssSource, String viewName, boolean merge)
Copyright © 2016 Nuxeo SA. All rights reserved.