public Flags flagList() throws DecodingException {
  Flags flags=new Flags();
  nextWordChar();
  consumeChar('(');
  CharacterValidator validator=new NoopCharValidator();
  String nextWord=consumeWord(validator);
  while (!nextWord.endsWith(")")) {
    DecoderUtils.setFlag(nextWord,flags);
    nextWord=consumeWord(validator);
  }
  if (nextWord.length() > 1) {
    int parenIndex=nextWord.indexOf(')');
    if (parenIndex > 0) {
      final String nextFlag=nextWord.substring(0,parenIndex);
      DecoderUtils.setFlag(nextFlag,flags);
    }
  }
  return flags;
}

public Flags flagList ( ) throws DecodingException { Flags flags = new Flags ( ) ; nextWordChar ( ) ; consumeChar ( '(' ) ; CharacterValidator validator = new NoopCharValidator ( ) ; String nextWord = consumeWord ( validator ) ; while ( ! nextWord . endsWith ( ")" ) ) { DecoderUtils . setFlag ( nextWord , flags ) ; nextWord = consumeWord ( validator ) ; } if ( nextWord . length ( ) > 1 ) { int parenIndex = nextWord . indexOf ( ')' ) ; if ( parenIndex > 0 ) { final String nextFlag = nextWord . substring ( 0 , parenIndex ) ; DecoderUtils . setFlag ( nextFlag , flags ) ; } } return flags ; }
reads a " flags - list " argument from the request .
