drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/internal/authentication/Parser.java
public String nextQuotedString() throws ParserException {
        int start = pos;
        match('"');

        checkPosition();
        while (s.charAt(pos) != '"') {
            ++pos;
            checkPosition();
        }
        match('"');

        return s.substring(start, pos);
    }
public String nextQuotedString() throws ParserException {
        int start = pos;
        match('"');

        checkPosition();
        while (s.charAt(pos) != '"') {
            ++pos;
            checkPosition();
        }
        match('"');

        return s.substring(start, pos);
    }
Returns the next quoted string is s (quotes included). Throws a
<code>ParserException</code> if the next substring in s is not a
quoted string.

@return the next quoted string in s (quotes included)
@throws ParserException