public void read(Object record, Decoder dec) throws IOException { Object reuseObj = null; if (_reuse) { _recordAccess.getField(record, _field.getName(), _field.getPos()); } _recordAccess.addField( record, _field.getName(), _field.getPos(), _itemReader.read(reuseObj, dec)); }
@Override public T read(T reuse, Decoder decoder) throws IOException { return (T) _reader.read(reuse, decoder); }