enum SdkIOUtils extends java.lang.Enum<SdkIOUtils>
Modifier and Type | Field and Description |
---|---|
private static InternalLogApi |
defaultLog |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
closeQuietly(java.io.Closeable is) |
(package private) static void |
closeQuietly(java.io.Closeable is,
InternalLogApi log)
Closes the given Closeable quietly.
|
static SdkIOUtils |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SdkIOUtils[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
private static final InternalLogApi defaultLog
public static SdkIOUtils[] values()
for (SdkIOUtils c : SdkIOUtils.values()) System.out.println(c);
public static SdkIOUtils valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullstatic void closeQuietly(java.io.Closeable is)
static void closeQuietly(java.io.Closeable is, InternalLogApi log)
is
- the given closeablelog
- logger used to log any failure should the close fail