Package org.eclipse.lemminx.utils
Class IOUtils
- java.lang.Object
-
- org.eclipse.lemminx.utils.IOUtils
-
public class IOUtils extends Object
IO utilities class- Author:
- Angelo ZERR
-
-
Constructor Summary
Constructors Constructor Description IOUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringconvertStreamToString(InputStream is)Convert the givenInputStreaminto a String.
-
-
-
Method Detail
-
convertStreamToString
public static String convertStreamToString(InputStream is)
Convert the givenInputStreaminto a String. The source InputStream will then be closed.- Parameters:
is- the input stream- Returns:
- the given input stream in a String.
-
-