org.xnap.commons.pkg
Class PackageToken

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

public class PackageToken
extends AbstractToken


Field Summary
static String[] COMPARE_MODES
           
(package private)  String compareMode
           
(package private)  String name
           
(package private)  String version
           
 
Fields inherited from class org.xnap.commons.pkg.AbstractToken
token
 
Constructor Summary
PackageToken(String name, String compareMode, String version)
           
 
Method Summary
 boolean equalsVersion(int result)
           
 
Methods inherited from class org.xnap.commons.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 String[] COMPARE_MODES

compareMode

String compareMode

name

String name

version

String version
Constructor Detail

PackageToken

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

equalsVersion

public boolean equalsVersion(int result)


Copyright © 2004-2006 XNap Commons Team. All Rights Reserved.