Class MatchHTML

java.lang.Object
com.zybooks.dsaj.stackqueue.MatchHTML

public class MatchHTML extends Object
Simplified test of matching tags in an HTML document.
  • Constructor Details

    • MatchHTML

      public MatchHTML()
  • Method Details

    • isHTMLMatched

      public static boolean isHTMLMatched(String html)
      Tests if every opening tag has a matching closing tag in HTML string.
    • main

      public static void main(String[] args)
      Test the text given as standard input as html. If command line argument is given, preforms test on example from the book.