@NonNull
    private static String convertStreamToString(@NonNull InputStream is) {
        Scanner s = new Scanner(is).useDelimiter("\\A");
        return s.hasNext() ? s.next() : "";
    }
http://stackoverflow.com/questions/309424/read-convert-an-inputstream-to-a-string
android/modules/module_common/src/main/java/github/tornaco/android/thanos/widget/html/HtmlTextView.java