|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.threerings.jpkg.debian.dependency.DependencyContainer
public abstract class DependencyContainer
A generic class which holds ControlFileDependency
objects. These can be used to describe
various Debian package dependency relationships, such as Depends, Conflicts, and Replaces.
Constructor Summary | |
---|---|
DependencyContainer()
|
Method Summary | |
---|---|
protected void |
add(ControlFileDependency dependency)
Concrete classes may us this to add a generic dependency object to this list of dependencies. |
abstract String |
getField()
Returns the field of the Debian control file this data belongs in. |
String |
getFieldValue()
Returns the data in this class formatted for the Debian control file. |
int |
size()
Returns the number of dependencies defined. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DependencyContainer()
Method Detail |
---|
public int size()
protected void add(ControlFileDependency dependency)
public abstract String getField()
ControlFileData
getField
in interface ControlFileData
public String getFieldValue()
ControlFileData
getFieldValue
in interface ControlFileData
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |