net.sf.jasperreports.engine.util

## Class VersionComparator

- java.lang.Object
- - net.sf.jasperreports.engine.util.VersionComparator

- All Implemented Interfaces:
    java.util.Comparator<java.lang.String>

      public class VersionComparator
      extends java.lang.Object
      implements java.util.Comparator<java.lang.String>

  Version:
    $Id: VersionComparator.java 5878 2013-01-07 20:23:13Z teodord $
  Author:
    Teodor Danciu (teodord@users.sourceforge.net)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `VersionComparator()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(java.lang.String currentVersion, java.lang.String oldVersion)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface java.util.Comparator

      `equals`

- - ### Constructor Detail

    - #### VersionComparator

          public VersionComparator()

  - ### Method Detail

    - #### compare

          public int compare(java.lang.String currentVersion,
                    java.lang.String oldVersion)

      Specified by:
        `compare` in interface `java.util.Comparator<java.lang.String>`

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com