|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.threerings.jpkg.debian.PackageDescription
public class PackageDescription
Holds and parses the Debian package description.
Constructor Summary | |
---|---|
PackageDescription(String description)
Construct a new PackageDescription with the supplied text for the brief initial part of the description. |
Method Summary | |
---|---|
void |
addBlankLine()
Append a blank new line to the extended description. |
void |
addParagraph(String line)
Append a line of text to the extended package description. |
void |
addVerbatimParagraph(String line)
Append a line of text to the extended package description. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PackageDescription(String description) throws ControlDataInvalidException
ControlDataInvalidException
Method Detail |
---|
public String getField()
ControlFileData
getField
in interface ControlFileData
public String getFieldValue()
ControlFileData
getFieldValue
in interface ControlFileData
public void addParagraph(String line) throws ControlDataInvalidException
ControlDataInvalidException
public void addVerbatimParagraph(String line) throws ControlDataInvalidException
ControlDataInvalidException
public void addBlankLine()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |