org.freehep.graphicsio.pdf
Class PDFUtil

java.lang.Object
  extended by org.freehep.graphicsio.pdf.PDFUtil
All Implemented Interfaces:
PDFConstants

public class PDFUtil
extends Object
implements PDFConstants

Utility functions for the PDFWriter. This class handles escaping of strings, formatting of dates, ...

Version:
$Id: PDFUtil.java 8584 2006-08-10 23:06:37Z duns $
Author:
Mark Donszelmann

Field Summary
 
Fields inherited from interface org.freehep.graphicsio.pdf.PDFConstants
CAP_BUTT, CAP_ROUND, CAP_SQUARE, dateFormat, EOL, JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND, MODE_CLIP, MODE_FILL, MODE_FILL_CLIP, MODE_FILL_STROKE, MODE_FILL_STROKE_CLIP, MODE_INVISIBLE, MODE_STROKE, MODE_STROKE_CLIP
 
Method Summary
static String date(Calendar date)
           
static String escape(String string)
           
static String fixedPrecision(double v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

escape

public static String escape(String string)

date

public static String date(Calendar date)

fixedPrecision

public static String fixedPrecision(double v)


Copyright © 2012. All Rights Reserved.