PDF Clown
0.1.2

org.pdfclown
Class Version

java.lang.Object
  extended by org.pdfclown.Version
All Implemented Interfaces:
Comparable<IVersion>, IVersion

public final class Version
extends Object
implements IVersion

Generic PDF version number [PDF:1.6:H.1].

Since:
0.1.0
Version:
0.1.2, 09/24/12
Author:
Stefano Chizzolini (http://www.stefanochizzolini.it)
See Also:
VersionEnum

Method Summary
 int compareTo(IVersion value)
           
static Version get(PdfName version)
           
static Version get(String version)
           
 int getMajor()
           
 int getMinor()
           
 List<Integer> getNumbers()
          Gets the version numbers.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

get

public static Version get(PdfName version)

get

public static Version get(String version)

getMajor

public int getMajor()

getMinor

public int getMinor()

getNumbers

public List<Integer> getNumbers()
Description copied from interface: IVersion
Gets the version numbers.

Specified by:
getNumbers in interface IVersion

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(IVersion value)
Specified by:
compareTo in interface Comparable<IVersion>

PDF Clown
0.1.2

Project home page

Copyright © 2006-2013 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.