Class InputStreams


  • public class InputStreams
    extends java.lang.Object
    Utilities to working with java.io.InputStream).

    Author:
    Javier Paniza
    • Constructor Summary

      Constructors 
      Constructor Description
      InputStreams()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String toString​(java.io.InputStream in)
      Returns the content of the input stream in string format.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InputStreams

        public InputStreams()
    • Method Detail

      • toString

        public static java.lang.String toString​(java.io.InputStream in)
                                         throws java.io.IOException
        Returns the content of the input stream in string format.

        Parameters:
        in - Cannot be null
        Returns:
        Never null
        Throws:
        java.io.IOException - If some problem