org.hibernate.search.util.impl

## Class StreamHelper

- java.lang.Object
- - org.hibernate.search.util.impl.StreamHelper

-     public class StreamHelper
      extends Object

  Author:
    Hardy Ferentschik

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static String` | `readInputStream(InputStream inputStream)` Reads the provided input stream into a string

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### readInputStream

          public static String readInputStream(InputStream inputStream)
                                        throws IOException

      Reads the provided input stream into a string
      Parameters:
        `inputStream` - the input stream to read from
      Returns:
        the content of the input stream as string
      Throws:
        `IOException` - if an I/O error occurs while reading the `InputStream`

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved