Package com.zybooks.dsaj.stackqueue
Class MatchHTML
java.lang.Object
com.zybooks.dsaj.stackqueue.MatchHTML
Simplified test of matching tags in an HTML document.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isHTMLMatched
(String html) Tests if every opening tag has a matching closing tag in HTML string.static void
Test the text given as standard input as html.
-
Constructor Details
-
MatchHTML
public MatchHTML()
-
-
Method Details
-
isHTMLMatched
Tests if every opening tag has a matching closing tag in HTML string. -
main
Test the text given as standard input as html. If command line argument is given, preforms test on example from the book.
-