code: public void replace(PushbackReader in, int bufferSize, Writer out, ObsoleteReplacer replacer) throws IOException
      {
          InputReader reader = Input.getInstance(in, bufferSize);
          replace(reader, out, replacer);
      }
docs: Replaces regular expression matches in input using replacer
  @param in
  @param bufferSize
  @param out
  @param replacer
  @throws IOException