org.hccp.pdf
Class Header

java.lang.Object
  |
  +--org.hccp.pdf.Header
All Implemented Interfaces:
DocumentObject

public class Header
extends java.lang.Object
implements DocumentObject

 The first line of a PDF file is a header identifying the version of the PDF
 specification to which the file conforms. For a file conforming to PDF version 1.3,
 the header should be

  %PDF-1.3
  
 However, since any file conforming to an earlier version of PDF also conforms to
 version 1.3, an application that processes PDF 1.3 can also accept files with any of
 the following headers:

  %PDF-1.0
  %PDF-1.1
  %PDF-1.2


- PDF Reference, Second Edition v1.3


Constructor Summary
Header()
          default constructor, sets the version to "1.3"
Header(java.lang.String version)
           
 
Method Summary
 java.lang.String getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Header

public Header(java.lang.String version)
Parameters:
version - a string of the form "1.1" or "1.2"

Header

public Header()
default constructor, sets the version to "1.3"

Method Detail

getValue

public java.lang.String getValue()
Specified by:
getValue in interface DocumentObject