com.sun.tools.xjc.util

Class StringCutter

public final class StringCutter extends Object

Utility class to parse a string
Constructor Summary
StringCutter(String s, boolean ignoreWhitespace)
Method Summary
intlength()
Stringnext(String regexp)
charpeek()
voidskip(String regexp)
Stringuntil(String regexp)

Constructor Detail

StringCutter

public StringCutter(String s, boolean ignoreWhitespace)

Method Detail

length

public int length()

next

public String next(String regexp)

peek

public char peek()

skip

public void skip(String regexp)

until

public String until(String regexp)