Package org.vafer.jdeb.debian
Class BinaryPackageControlFile
java.lang.Object
org.vafer.jdeb.debian.ControlFile
org.vafer.jdeb.debian.BinaryPackageControlFile
Binary package control file.
-
Field Summary
Fields inherited from class org.vafer.jdeb.debian.ControlFile
userDefinedFieldNames, userDefinedFields, values -
Constructor Summary
ConstructorsConstructorDescriptionBinaryPackageControlFile(InputStream input)BinaryPackageControlFile(String input) -
Method Summary
Modifier and TypeMethodDescriptionprotected ControlField[]Returns the short description of the package.protected charReturns the letter expected in the prefix of a user defined field in order to include the field in this control file.voidMethods inherited from class org.vafer.jdeb.debian.ControlFile
get, getMandatoryFields, getUserDefinedFieldName, getUserDefinedFieldNames, getUserDefinedFields, invalidFields, isUserDefinedField, isValid, parse, parse, toString, toString
-
Constructor Details
-
BinaryPackageControlFile
public BinaryPackageControlFile() -
BinaryPackageControlFile
- Throws:
IOExceptionParseException
-
BinaryPackageControlFile
- Throws:
IOExceptionParseException
-
-
Method Details
-
set
- Overrides:
setin classControlFile
-
getFields
- Specified by:
getFieldsin classControlFile
-
getShortDescription
Returns the short description of the package. The short description consists in the first line of the Description field.- Returns:
-
getUserDefinedFieldLetter
Description copied from class:ControlFileReturns the letter expected in the prefix of a user defined field in order to include the field in this control file.- Specified by:
getUserDefinedFieldLetterin classControlFile- Returns:
- The letter returned is:
- B: for a binary package
- S: for a source package
- C: for a changes file
- See Also:
- Debian Policy - User-defined fields
-