@@ -0,0 +1,855 @@
+package org.opencb.biodata.formats.io;%0A%0A%0Aimport org.opencb.commons.io.DataReader;%0A%0Aimport java.io.IOException;%0Aimport java.io.UncheckedIOException;%0Aimport java.util.List;%0A%0A/**%0A * Created by susi on 14/04/16.%0A */%0Apublic class FormatReaderWrapper%3CT%3E implements DataReader%3CT%3E %7B%0A%0A    private final AbstractFormatReader%3CT%3E reader;%0A%0A%0A    public FormatReaderWrapper(AbstractFormatReader%3CT%3E reader) %7B%0A        this.reader = reader;%0A    %7D%0A%0A%0A    @Override%0A    public boolean close() %7B%0A        try %7B%0A            reader.close();%0A            return true;%0A        %7D catch (IOException e) %7B%0A            throw new UncheckedIOException(e);%0A        %7D%0A    %7D%0A%0A%0A    @Override%0A    public List%3CT%3E read(int batchSize) %7B%0A        try %7B%0A            return reader.read(batchSize);%0A        %7D catch (FileFormatException e) %7B%0A            throw new RuntimeException(e);%0A        %7D%0A    %7D%0A%7D%0A

Add FormatReader wrapper