public final class ComponentsUtility extends Object
Modifier and Type | Method and Description |
---|---|
static void |
nullSafeClose(Closeable closeable)
closes the
Closeable component if it is not null. |
static void |
nullSafeCloseQuietly(Closeable closeable)
closes the
Closeable component if it is not null logging exceptions. |
public static void nullSafeCloseQuietly(Closeable closeable)
Closeable
component if it is not null logging exceptions.closeable
- public static void nullSafeClose(Closeable closeable) throws IOException
Closeable
component if it is not null.closeable
- IOException
Copyright © 2019 sejda. All rights reserved.