/** * {@inheritDoc} */ @Override public int readyData() { return inputBuffer.available(); }
/** * Depending on the <tt>InputBuffer</tt> mode, method will return either * number of available bytes or characters ready to be read without blocking. * * @return depending on the <tt>InputBuffer</tt> mode, method will return * either number of available bytes or characters ready to be read without * blocking. */ public int readyData() { if (closed) return 0; return ((processingChars) ? availableChar() : available()); }
/** * Depending on the <tt>InputBuffer</tt> mode, method will return either * number of available bytes or characters ready to be read without blocking. * * @return depending on the <tt>InputBuffer</tt> mode, method will return * either number of available bytes or characters ready to be read without * blocking. */ public int readyData() { if (closed) return 0; return ((processingChars) ? availableChar() : available()); }
/** * {@inheritDoc} */ @Override public boolean isReady() { return (inputBuffer.available() > 0); }
/** * Depending on the <tt>InputBuffer</tt> mode, method will return either * number of available bytes or characters ready to be read without blocking. * * @return depending on the <tt>InputBuffer</tt> mode, method will return * either number of available bytes or characters ready to be read without * blocking. */ public int readyData() { if (closed) return 0; return ((processingChars) ? availableChar() : available()); }
/** * {@inheritDoc} */ @Override public boolean isReady() { return (inputBuffer.available() > 0); }
/** * Depending on the <tt>InputBuffer</tt> mode, method will return either * number of available bytes or characters ready to be read without blocking. * * @return depending on the <tt>InputBuffer</tt> mode, method will return * either number of available bytes or characters ready to be read without * blocking. */ public int readyData() { if (closed) return 0; return ((processingChars) ? availableChar() : available()); }
/** * {@inheritDoc} */ @Override public int available() throws IOException { return inputBuffer.available(); }
/** * Depending on the <tt>InputBuffer</tt> mode, method will return either * number of available bytes or characters ready to be read without blocking. * * @return depending on the <tt>InputBuffer</tt> mode, method will return * either number of available bytes or characters ready to be read without * blocking. */ public int readyData() { if (closed) return 0; return ((processingChars) ? availableChar() : available()); }
/** * {@inheritDoc} */ @Override public boolean isReady() { return (inputBuffer.available() > 0); }
/** * Depending on the <tt>InputBuffer</tt> mode, method will return either * number of available bytes or characters ready to be read without blocking. * * @return depending on the <tt>InputBuffer</tt> mode, method will return * either number of available bytes or characters ready to be read without * blocking. */ public int readyData() { if (closed) return 0; return ((processingChars) ? availableChar() : available()); }
/** * {@inheritDoc} */ @Override public int readyData() { return inputBuffer.available(); }
/** * {@inheritDoc} */ @Override public int available() throws IOException { return inputBuffer.available(); }
/** * {@inheritDoc} */ @Override public int available() throws IOException { return inputBuffer.available(); }
/** * {@inheritDoc} */ @Override public int readyData() { return inputBuffer.available(); }
/** * {@inheritDoc} */ @Override public boolean isReady() { return (inputBuffer.available() > 0); }
/** * {@inheritDoc} */ @Override public int available() throws IOException { return inputBuffer.available(); }
/** * {@inheritDoc} */ @Override public int readyData() { return inputBuffer.available(); }
/** * {@inheritDoc} */ @Override public boolean isReady() { return (inputBuffer.available() > 0); }
/** * {@inheritDoc} */ @Override public boolean isReady() { return (inputBuffer.available() > 0); }