- java.lang.Object
-
- com.sun.tools.xjc.util.StringCutter
-
public final class StringCutter extends Object
Utility class to parse a string- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description StringCutter(String s, boolean ignoreWhitespace)
-
-
-
Constructor Detail
-
StringCutter
public StringCutter(String s, boolean ignoreWhitespace)
-
-
Method Detail
-
skip
public void skip(String regexp) throws ParseException
- Throws:
ParseException
-
next
public String next(String regexp) throws ParseException
- Throws:
ParseException
-
until
public String until(String regexp) throws ParseException
- Throws:
ParseException
-
peek
public char peek()
-
length
public int length()
-
-