I am a newbie to Java and kinda struggling with ideas on how to do this task with minimal coding and efficiently.
I have a HTML page with multiple tables and headings in it
Now my task is to export the data from this page to a text file with the corresponding headings lined up properly and tables in column format.
Is there a easy way of doing this by using some libraries?
I want to start by 1st creating a text (Sample_Text_001.txt) file in a specified (C;\\users\\kventure\\testFiles) directory and if that file already exists, then delete it and create a new one.
Use JSoup Library . It's an HTML parser library that can be used to read contents of html pages.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.