private static synchronized String parseQuotedString(String s) throws UnsupportedEncodingException, CharacterCodingException {
  StringBuffer result=new StringBuffer();
  StringCharacterIterator iterator=new StringCharacterIterator(s);
  char c=iterator.current();
  while (iterator.getIndex() < iterator.getEndIndex()) {
switch (c) {
case '\\':
{
        result.append(parseEscapedSequence(iterator));
        break;
      }
default :
{
      result.append(c);
      break;
    }
}
c=iterator.next();
}
return result.toString();
}

private static synchronized String parseQuotedString ( String s ) throws UnsupportedEncodingException , CharacterCodingException { StringBuffer result = new StringBuffer ( ) ; StringCharacterIterator iterator = new StringCharacterIterator ( s ) ; char c = iterator . current ( ) ; while ( iterator . getIndex ( ) < iterator . getEndIndex ( ) ) { switch ( c ) { case '\\' : { result . append ( parseEscapedSequence ( iterator ) ) ; break ; } default : { result . append ( c ) ; break ; } } c = iterator . next ( ) ; } return result . toString ( ) ; }
parses a string according to the format specified for ascii property lists . such strings can contain escape sequences which are unescaped in this method .
