SourceForge.net Logo
aXSL API 0.1

org.axsl.pdfW
Class PDFUtility

java.lang.Object
  extended byorg.axsl.pdfW.PDFUtility

public final class PDFUtility
extends java.lang.Object

Class containing PDF-related utility methods.


Method Summary
static int integralVersion(java.lang.String stringVersion)
          For a given String, finds the version constant that represents that version.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

integralVersion

public static int integralVersion(java.lang.String stringVersion)
For a given String, finds the version constant that represents that version.

Parameters:
stringVersion - The String representing the version. Valid values include "1.3", "1.4", "1.5", and "1.6".
Returns:
The integral constant used to represent stringVersion, or -1 if none exists. Valid values are PDFDocument.PDF_VERSION_1_3, PDFDocument.PDF_VERSION_1_4, PDFDocument.PDF_VERSION_1_5, and PDFDocument.PDF_VERSION_1_6,

SourceForge.net Logo
aXSL API 0.1

This documentation was created September 6 2006 by The aXSL Group and may be freely copied. See license for details.