code: private static State nextQuoted(final InputStream stream, final State state,
          final ByteArrayOutputStream line, final int next)
              throws IOException {
          final State result;
          switch (next) {
              case '\\':
                  result = state;
                  line.write(stream.read());
                  break;
              case '\"':
                  result = State.NORMAL;
                  break;
              default:
                  result = state;
                  line.write(next);
                  break;
          }
          return result;
      }
docs: Maintain next symbol for current state = State.QUOTED_STRING.
  @param stream Input stream.
  @param state Current state.
  @param line Current chunk size line.
  @param next Next symbol.
  @return New state.
  @throws IOException If fails.
  @checkstyle ParameterNumberCheck (3 lines)