public class CloseUtil extends Object
| Constructor and Description |
|---|
CloseUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
nullSafeCloseThrowingUnchecked(Closeable closeable)
A null-safe invocation of closeable.close(), such that if an IOException is
triggered, it is wrapped instead in an UncheckedIOException.
|
public static void nullSafeCloseThrowingUnchecked(Closeable closeable)
closeable - the closeable to be closedCopyright © 2023 HERE Europe B.V. All Rights Reserved.