Join Patrick Royal for an in-depth discussion in this video My solution: Using Jsoup to insert tables, part of Code Clinic: Java.
- Java tends to be a flexible language…and there are a lot of different ways…to deal with HTML files.…If nothing else, you can just treat it…as an ordinary text file,…and then search for each tag manually.…Of course, that would require a lot of finicky coding…and careful formatting,…which is not really the focus of this CodeClinic.…It's also not what you should be doing…if you have to deal with HTML files outside this course,…because there are a number of excellent API's…available to make parsing HTML files easier.…For this CodeClinic, I'll be using jsoup,…an open source HTML parser…that is specifically designed…to make modifying HTML files easier.…
You can get jsoup from jsoup.org.…Click on the Download button…and choose to Download the JAR file.…Your version may be different from mine…but there shouldn't be any major differences…in the methods we'll be using in this Code.…Save the JAR file in a location you can easily get to later,…because we will need to add it to our Build Path.…Now back in Eclipse, the next step is…
Patrick introduces challenges and provide an overview of his solutions in Java. Challenges include topics such as statistical analysis, searching directories for images, and accessing peripheral devices.
Visit other courses in the series to see how to solve the exact same challenges in languages like C#, C++, PHP, Python, and Ruby.
Skill Level Intermediate
Problem One: Exploring Lake Pend Oreille
Problem Two: Image Analysis
Problem Three: Eight Queens
Problem Four: Accessing Peripherals
Problem Five: Recursion and Directories
Problem Six: Building the Web
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.