The HTMLPage class

Design and implement a class called HTMLPage which inherits from FileParser. It should have the following functionality: opens an HTML file (of which the URL is known), reads and stores its links (transforming relative links into absolute links), allows external access to the stored links. This class is derived from FileParser because it uses FileParser's functionality in a specific manner, performing some specific task (relative links are transformed into absolute links) of which FileParser knows nothing about.



Subsections
Leo Liberti 2008-01-12