drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/internal/authentication/Parser.java
public void match(char c) throws ParserException {
        checkPosition();
        if (s.charAt(pos) != c)
            throw new ParserException();
        ++pos;
    }
public void match(char c) throws ParserException {
        checkPosition();
        if (s.charAt(pos) != c)
            throw new ParserException();
        ++pos;
    }
public void match ( char c ) throws ParserException { checkPosition ( ) ; if ( s . charAt ( pos ) != c ) throw new ParserException ( ) ; ++ pos ; }
Skips the next character in s if it matches c, otherwise a
<code>ParserException</code> is thrown.

@param c
@throws  ParserException
Skips the next character in s if it matches c otherwise a <code > ParserException< / code > is thrown .