FreeHEP API
Version current

org.freehep.graphicsio.pdf
Class PDFUtil

java.lang.Object
  extended byorg.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,v 1.3 2004/12/30 07:41:35 duns Exp $
Author:
Mark Donszelmann
Source Code:
PDFUtil.java

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)

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.