/** * {@inheritDoc} */ @Override public boolean markSupported() { return m_dis.markSupported(); }
/** * {@inheritDoc} */ @Override public boolean markSupported() { return m_dis.markSupported(); }
if (stream.markSupported())
this.stream = stream; try { if (stream.markSupported()) { stream.mark(nrOfBytes); bytes = IOUtils.toByteArray(stream, nrOfBytes, MAX_RECORD_LENGTH);
if (!is.markSupported()) throw new UnsupportedOperationException(is.getClass().getName() + " does not support mark().");
if (!is.markSupported()) throw new UnsupportedOperationException(is.getClass().getName() + " does not support mark().");
if (!is.markSupported()) { throw new UnsupportedOperationException(is.getClass().getName() + " does not support mark().");