gnu.jpdf
Class PDFStringHelper

java.lang.Object
  extended by gnu.jpdf.PDFStringHelper

public class PDFStringHelper
extends java.lang.Object

String manipulation methods


Constructor Summary
PDFStringHelper()
           
 
Method Summary
static java.lang.String makePDFString(java.lang.String s)
          This converts a string into PDF.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFStringHelper

public PDFStringHelper()
Method Detail

makePDFString

public static java.lang.String makePDFString(java.lang.String s)
This converts a string into PDF. It prefixes ( or ) with \ and wraps the string in a ( ) pair.

Parameters:
s - String to convert
Returns:
String that can be placed in a PDF (or Postscript) stream