Class RegexTokenizer

java.lang.Object
org.sentrysoftware.jawk.jrt.RegexTokenizer
All Implemented Interfaces:
Enumeration<Object>

public class RegexTokenizer extends Object implements Enumeration<Object>
Similar to StringTokenizer, except that tokens are delimited by a regular expression.
Author:
Danny Daglas
  • Constructor Details

    • RegexTokenizer

      public RegexTokenizer(String input, String delimitterRegexPattern)
      Construct a RegexTokenizer.
      Parameters:
      input - The input string to tokenize.
      delimitterRegexPattern - The regular expression delineating tokens within the input string.
  • Method Details