public class MoreCloseables extends Object
Constructor and Description |
---|
MoreCloseables() |
Modifier and Type | Method and Description |
---|---|
static void |
closeQuietly(AssetFileDescriptor assetFileDescriptor)
Closes the given file descriptor iff it is not null, ignoring exceptions.
|
static void |
closeQuietly(Cursor cursor)
Closes the supplied cursor iff it is not null.
|
public static void closeQuietly(Cursor cursor)
public static void closeQuietly(AssetFileDescriptor assetFileDescriptor)