public class ComlibUtils extends Object
Constructor and Description |
---|
ComlibUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
closeQuietly(Writer writer)
Close writer without causing any exceptions.
|
static String |
loadResourceToString(Class clazz,
String resourceName,
String charset)
Load embeded resource to string.
|
public static String loadResourceToString(Class clazz, String resourceName, String charset) throws IOException
clazz
- resourceName
- charset
- IOException
public static void closeQuietly(Writer writer)
writer
- Copyright © 2013. All Rights Reserved.