Class InputStreams


  • @GwtCompatible
    final class InputStreams
    extends java.lang.Object
    Utilities for handling InputStreams.
    • Constructor Summary

      Constructors 
      Constructor Description
      InputStreams()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static byte readByte​(java.io.InputStream input)
      Reads a byte from input.
      • Methods inherited from class java.lang.Object

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

      • InputStreams

        InputStreams()
    • Method Detail

      • readByte

        static byte readByte​(java.io.InputStream input)
                      throws java.io.IOException
        Reads a byte from input.
        Throws:
        java.io.IOException - if input.read() throws an IOException or returns -1 (EOF).