public class FSStreamUtils extends Object
Constructor and Description |
---|
FSStreamUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
closeQuietly(InputStream stream)
Closes an
InputStream unconditionally. |
public static void closeQuietly(InputStream stream)
InputStream
unconditionally.
Equivalent to InputStream.close()
, except any exceptions will be ignored.
stream
- the InputStream to close, may be null or already closedCopyright © 2016–2023. All rights reserved.