1 package com.opensymphony.module.sitemesh.html.tokenizer; 2 3 19 public class TagTokenizer { 20 21 private final char[] input; 22 23 public TagTokenizer(char[] input) { 24 this.input = input; 25 } 26 27 public TagTokenizer(String input) { 28 this(input.toCharArray()); 29 } 30 31 public void start(TokenHandler handler) { 32 Parser parser = new Parser(input, handler); 33 parser.start(); 34 } 35 36 } 37 | Popular Tags |