org.xnap.pkg
Class DefaultDependencyParser

java.lang.Object
  extended by org.xnap.pkg.DefaultDependencyParser
All Implemented Interfaces:
DependencyParser

public class DefaultDependencyParser
extends java.lang.Object
implements DependencyParser


Constructor Summary
DefaultDependencyParser()
           
DefaultDependencyParser(java.lang.String dependsKey, java.lang.String conflictsKey)
           
 
Method Summary
 AbstractToken parse(PackageInfo info, java.lang.String key)
           
 AbstractToken parse(java.lang.String depends)
           
 AbstractToken parseConflicts(PackageInfo info)
           
 AbstractToken parseDepends(PackageInfo info)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDependencyParser

public DefaultDependencyParser(java.lang.String dependsKey,
                               java.lang.String conflictsKey)

DefaultDependencyParser

public DefaultDependencyParser()
Method Detail

parseConflicts

public AbstractToken parseConflicts(PackageInfo info)
                             throws ParseException
Specified by:
parseConflicts in interface DependencyParser
Throws:
ParseException

parseDepends

public AbstractToken parseDepends(PackageInfo info)
                           throws ParseException
Specified by:
parseDepends in interface DependencyParser
Throws:
ParseException

parse

public AbstractToken parse(PackageInfo info,
                           java.lang.String key)
                    throws ParseException
Throws:
ParseException

parse

public AbstractToken parse(java.lang.String depends)
                    throws ParseException
Throws:
ParseException


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