public class Utils extends Object
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static <T> List<T> |
ensureNotNull(List<T> list) |
static String |
escapeEndOfLines(String string) |
static <E> boolean |
isNullOrEmpty(Collection<E> collection) |
static String |
readerToString(Reader reader) |
public static <E> boolean isNullOrEmpty(Collection<E> collection)
public static String escapeEndOfLines(String string)
public static String readerToString(Reader reader) throws IOException
IOException
Copyright © 2007–2016. All rights reserved.