public class ResourceUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
closeQuietly(AutoCloseable... elements) |
static void |
closeQuietly(AutoCloseable autoCloseable) |
static void |
closeQuietly(Iterable<? extends AutoCloseable> elements) |
static void |
closeQuietlyIfAutoCloseable(Iterable<?> elements) |
static void |
closeQuietlyIfAutoCloseable(Object... elements) |
static void |
closeQuietlyIfAutoCloseable(Object autoCloseable) |
public static void closeQuietlyIfAutoCloseable(@Nullable Object autoCloseable)
public static void closeQuietly(@Nullable AutoCloseable autoCloseable)
public static void closeQuietlyIfAutoCloseable(@Nullable Iterable<?> elements)
public static void closeQuietly(@Nullable Iterable<? extends AutoCloseable> elements)
public static void closeQuietlyIfAutoCloseable(@Nullable Object... elements)
public static void closeQuietly(@Nullable AutoCloseable... elements)
Copyright © 2023 echocat. All rights reserved.