Package io.ebean.migration.util
Class IOUtils
- java.lang.Object
-
- io.ebean.migration.util.IOUtils
-
-
Constructor Summary
Constructors Constructor Description IOUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringreadUtf8(InputStream in)Reads the entire contents of the specified input stream and return them as UTF-8 string.static StringreadUtf8(URL url)Reads the entire contents of the specified URL and return them as UTF-8 string.
-
-
-
Constructor Detail
-
IOUtils
public IOUtils()
-
-
Method Detail
-
readUtf8
public static String readUtf8(URL url) throws IOException
Reads the entire contents of the specified URL and return them as UTF-8 string.- Throws:
IOException
-
readUtf8
public static String readUtf8(InputStream in) throws IOException
Reads the entire contents of the specified input stream and return them as UTF-8 string.- Throws:
IOException
-
-