Class StreamConnection


  • public class StreamConnection
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      StreamConnection​(java.io.InputStream is, java.io.OutputStream os)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int read()  
      int read​(byte[] buf)  
      int read​(byte[] buf, int off, int length)  
      void write​(byte[] buf)  
      void write​(char[] buf)  
      void write​(ByteBuffer buf)  
      • Methods inherited from class java.lang.Object

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

      • StreamConnection

        public StreamConnection​(java.io.InputStream is,
                                java.io.OutputStream os)
    • Method Detail

      • read

        public int read()
                 throws java.io.IOException
        Throws:
        java.io.IOException
      • read

        public int read​(byte[] buf)
                 throws java.io.IOException
        Throws:
        java.io.IOException
      • read

        public int read​(byte[] buf,
                        int off,
                        int length)
                 throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        public void write​(char[] buf)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        public void write​(byte[] buf)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        public void write​(ByteBuffer buf)
                   throws java.io.IOException
        Throws:
        java.io.IOException