Package org.exoplatform.container.util
Class Utils
- java.lang.Object
-
- org.exoplatform.container.util.Utils
-
public class Utils extends Object
- Version:
- $Id$
- Author:
- Nicolas Filotto
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetPathOnly(String fullPath)Extracts the path section of the given full path which syntax is [path][?query][#fragment]static StringreadStream(InputStream inputStream)Loads the given stream into memory, returns its content as String and finally close the stream.
-
-
-
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
-
-