org.axonframework.common.io
Class IOUtils

java.lang.Object
  extended by org.axonframework.common.io.IOUtils

public final class IOUtils
extends Object

Utility methods for IO operations.

Since:
2.0
Author:
Allard Buijze

Field Summary
static Charset UTF8
          Represents the UTF-8 character set.
 
Method Summary
static void closeQuietly(Closeable closeable)
          Closes any Closable object, while suppressing any IOExceptions it will generate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UTF8

public static final Charset UTF8
Represents the UTF-8 character set.

Method Detail

closeQuietly

public static void closeQuietly(Closeable closeable)
Closes any Closable object, while suppressing any IOExceptions it will generate. The given closeable may be null, in which case nothing happens.

Parameters:
closeable - the object to be closed


Copyright © 2010-2012. All Rights Reserved.