public class Utils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getPathOnly(String fullPath)
Extracts the path section of the given full path which syntax is [path][?query][#fragment]
|
static String |
readStream(InputStream inputStream)
Loads the given stream into memory, returns its content as String and
finally close the stream.
|
public static String readStream(InputStream inputStream) throws IOException
IOException - if the stream could not be loadedCopyright © 2019 eXo Platform SAS. All Rights Reserved.