/* Inherit documentation */ public void processString( PageStreamTransform pageStreamTransform, PDFOperator operator, List operands, COSString cosString) throws IOException { pageStreamTransform.signalChange(); // At least one string processed ExtractStringsToOutputStream extractText = (ExtractStringsToOutputStream) pageStreamTransform; extractText.outputStream.write(cosString.getBytes()); }
/* Inherit documentation */ public void processString( PageStreamTransform pageStreamTransform, PDFOperator operator, List operands, COSString cosString) throws IOException { pageStreamTransform.signalChange(); // At least one string processed ExtractStringsToStringBuffer extractStrings = (ExtractStringsToStringBuffer) pageStreamTransform; extractStrings.buffer.append(PdfUtil.getPdfString(cosString)); }