NotClosingUnderlyingInputStream buffer = new NotClosingUnderlyingInputStream(new BufferedInputStream(fis));
buffer.mark((int) source.length() + 1);
try {
return read(buffer, (int) source.length(), getStartDate(source), formats);
} finally {
buffer.closeUnderlyingInputStream();
}
}
public ParserResult read(File source) throws IOException {
return read(source, getReadFormats());