Class Utils
java.lang.Object
org.exoplatform.container.util.Utils
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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 Details
-
readStream
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
-
getPathOnly
-