org.xnap.pkg
Class PackageToken

java.lang.Object
  extended by org.xnap.pkg.AbstractToken
      extended by org.xnap.pkg.PackageToken
All Implemented Interfaces:
java.lang.Comparable

public class PackageToken
extends AbstractToken


Field Summary
static java.lang.String[] COMPARE_MODES
           
 
Constructor Summary
PackageToken(java.lang.String name, java.lang.String compareMode, java.lang.String version)
           
 
Method Summary
 boolean equalsVersion(int result)
           
 
Methods inherited from class org.xnap.pkg.AbstractToken
compareTo, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

COMPARE_MODES

public static final java.lang.String[] COMPARE_MODES
Constructor Detail

PackageToken

public PackageToken(java.lang.String name,
                    java.lang.String compareMode,
                    java.lang.String version)
             throws ParseException
Throws:
ParseException
Method Detail

equalsVersion

public boolean equalsVersion(int result)


Copyright © 2001-2005 XNap Team. All Rights Reserved.