Package | Description |
---|---|
com.hfg.util.io |
Various IO utility classes.
|
Modifier and Type | Method and Description |
---|---|
static void |
StreamUtil.close(InputStream inStream)
Convenience method that does a null check before closing the stream.
|
static void |
StreamUtil.close(OutputStream inStream)
Convenience method that does a null check before closing the stream.
|
static void |
StreamUtil.close(Reader inReader)
Convenience function that does a null check before closing the Reader and
wrapps IOExceptions in RuntimeIOExceptions so they don't have to be caught.
|
static void |
StreamUtil.close(Writer inWriter)
Convenience function that does a null check before closing the Writer and
wrapps IOExceptions in RuntimeIOExceptions so they don't have to be caught.
|
jataylor@hairyfatguy.com