inetsoft.report.io
Interface Parser
- All Known Implementing Classes:
- ReportParser, TemplateParser
public interface Parser
Parser is responsible for converting report and report elements from
an external format to Java objects.
read
ReportSheet read(String dir)
throws IOException
- Import a report. The directory parameter is used if the report
contains information with relative path. The directory serves
as the current directory for the relative path. It could be null
is it's not available, in this case the parser will use the
current directory of the program if it has permission to get it.
- Parameters:
dir - directory the report is imported from.
- Returns:
- imported report.
- Throws:
IOException