Class QuotedStringTokenizer

  • All Implemented Interfaces:
    Iterable<String>

    public class QuotedStringTokenizer
    extends Object
    implements Iterable<String>
    A basic tokenizer for generating tokens from a string. It understands quoted strings and escaped quote characters. You can use the escape sequence '\' to escape single quotes, double quotes, and spaces only, in addition to the escape character itself. The behavior is the same for single and double quoted strings. (i.e. '\'' is the same as "\'")