org.freehep.graphicsio.pdf
Class PDFUtil

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

public class PDFUtil
extends java.lang.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 java.lang.String date(java.util.Calendar date)
           
static java.lang.String escape(java.lang.String string)
           
static java.lang.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 java.lang.String escape(java.lang.String string)

date

public static java.lang.String date(java.util.Calendar date)

fixedPrecision

public static java.lang.String fixedPrecision(double v)


Copyright © 2000-2007 FreeHEP. All Rights Reserved.