org.xnap.commons.pkg
Class DefaultDependencyParser
java.lang.Object
org.xnap.commons.pkg.DefaultDependencyParser
- All Implemented Interfaces:
- DependencyParser
public class DefaultDependencyParser
- extends Object
- implements DependencyParser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultDependencyParser
public DefaultDependencyParser(String dependsKey,
String conflictsKey)
DefaultDependencyParser
public DefaultDependencyParser()
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,
String key)
throws ParseException
- Throws:
ParseException
parse
public AbstractToken parse(String depends)
throws ParseException
- Throws:
ParseException
Copyright © 2004-2006 XNap Commons Team. All Rights Reserved.