public class WWUtil
extends java.lang.Object
Constructor and Description |
---|
WWUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
closeSilently(java.io.Closeable closeable)
Closes a specified Closeable, suppressing any checked exceptions.
|
static boolean |
isUrlString(java.lang.String string)
Determines whether or not the specified string represents a URL.
|
static java.lang.String |
readResourceAsText(android.content.res.Resources resources,
int id) |
public static void closeSilently(java.io.Closeable closeable)
closeable
- the object to close, may be null in which case this does nothingpublic static boolean isUrlString(java.lang.String string)
string
- the string in questionpublic static java.lang.String readResourceAsText(android.content.res.Resources resources, int id) throws java.io.IOException
java.io.IOException