@Override public void mark(int readAheadLimit) throws IOException { super.mark(readAheadLimit); mark = record == null ? -1 : record.length(); }
@Override public synchronized void mark(int readlimit) { try { super.mark(readlimit); } catch (IOException e) { throw new RuntimeException(e); } }
/** * {@inheritDoc} * * @throws IOException */ @Override public synchronized void mark(final int readlimit) throws IOException { checkCloseInvoked("mark"); super.mark(readlimit); }