public int read ( char [ ] cbuf , int off , int len ) throws IOException { //check the buffer queue int size = queue . size ( ) ; if ( size > 0 ) { //TODO //int num = size <= len ? size : len; //System.arraycopy(src, srcPos, dest, destPos, length) throw new IOException ( "Method not implemented yet" ) ; } return reader . read ( cbuf , off , len ) ; }
read the specified block from the stream