eXo Kernel :: Container 2.4.13-GA

org.exoplatform.container.util
Class Utils

java.lang.Object
  extended by org.exoplatform.container.util.Utils

public class Utils
extends Object

Version:
$Id$
Author:
Nicolas Filotto

Method Summary
static String readStream(InputStream inputStream)
          Loads the given stream into memory, returns its content as String and finally close the stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

readStream

public static String readStream(InputStream inputStream)
                         throws IOException
Loads the given stream into memory, returns its content as String and finally close the stream.

Throws:
IOException - if the stream could not be loaded

eXo Kernel :: Container 2.4.13-GA

Copyright © 2015 eXo Platform SAS. All Rights Reserved.