org.jpedal.examples
Class PageCount

java.lang.Object
  extended by org.jpedal.examples.PageCount

public class PageCount
extends java.lang.Object

This example opens a pdf file and gets the number of pages it contains


Constructor Summary
PageCount()
           
PageCount(java.lang.String file_name)
          example method to open a file and return the number of pages
 
Method Summary
static void main(java.lang.String[] args)
          main routine which checks for any files passed and runs the demo
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageCount

public PageCount()

PageCount

public PageCount(java.lang.String file_name)
example method to open a file and return the number of pages

Method Detail

main

public static void main(java.lang.String[] args)
main routine which checks for any files passed and runs the demo