@SuppressWarnings({"rawtypes", "unchecked"})
    private int handleText(String input, int pos, LinkedList linkedList) {
      StringBuilder text = new StringBuilder("");
      int newPos = pos;
      while (newPos < input.length()) {
        if (nextValueIs(input, newPos, " ")) {
          linkedList.add(text);
          return newPos;
        }
        if (nextValueIs(input, newPos, "(")) {
          linkedList.add(text);
          return newPos;
        }
        if (nextValueIs(input, newPos, ")")) {
          linkedList.add(text);
          return newPos;
        }
        for (String operator : operators) {
          if (nextValueIs(input, newPos, operator)) {
            linkedList.add(text);
            return newPos;
          }
        }
        text.append(input.substring(newPos, ++newPos));
      }
      // don't add empty text entry (may be at end)
      if (!text.toString().trim().equals("")) {
        linkedList.add(text);
      }
      return newPos;
    }
convert in-fix expression to post-fix.

@param tokenizer tokenizer.
@return post-fix expression.
olv-core/src/main/java/pl/otros/logview/accept/query/org/apache/log4j/rule/InFixToPostFix.java