MasterEx opened a new pull request #2169: URL: https://github.com/apache/netbeans/pull/2169
Jira: https://issues.apache.org/jira/browse/NETBEANS-4415 This pull request adds the functionality to export database dataview results to a file. Support for .csv, .tsv (tab separated), .xls and .xlsx is included. Below are some relevant screenshots:  The menu item "Export Table Data" has been introduced. This will open a file chooser window.  The file chooser filters the files by the extension:  The changes have been made in a way that is relevantly straightforward to introduce a new file format. For the creation of the csv and tsv files the Apache csv commons library was introduced. For the xls and xlsx files the Apache POI and relevant dependencies were introduced. Tests have been introduced that compare the generated files to provided "golden" files. For the csv and tsv files a file comparison is made. For xls and xlsx only the contents of the workbook are compared because metadata such as the author will cause an exact file comparison to fail. In case you consider that it is beneficial to include this feature let me know if you have any question regarding the implementation or if you have to propose any improvement. Thanks. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
