com.itextpdf.text.pdf
Class StringUtils

java.lang.Object
  extended by com.itextpdf.text.pdf.StringUtils

public class StringUtils
extends Object


Method Summary
static byte[] escapeString(byte[] bytes)
          Escapes a byte array according to the PDF conventions.
static void escapeString(byte[] bytes, ByteBuffer content)
          Escapes a byte array according to the PDF conventions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

escapeString

public static byte[] escapeString(byte[] bytes)
Escapes a byte array according to the PDF conventions.

Parameters:
bytes - the byte array to escape
Returns:
an escaped byte array

escapeString

public static void escapeString(byte[] bytes,
                                ByteBuffer content)
Escapes a byte array according to the PDF conventions.

Parameters:
bytes - the byte array to escape
content - the content


Copyright © 2014. All Rights Reserved.