com.threerings.jpkg.debian
Class PackageSection

java.lang.Object
  extended by com.threerings.jpkg.debian.PackageSection
All Implemented Interfaces:
ControlFileData

public class PackageSection
extends Object
implements ControlFileData

Holds and parses the Debian package section.

See Also:
Debian Policy Manual

Constructor Summary
PackageSection(String section)
          Construct a new package section.
 
Method Summary
 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

PackageSection

public PackageSection(String section)
Construct a new package section.

See Also:
Debian Policy Manual
Method Detail

getField

public String getField()
Description copied from interface: ControlFileData
Returns the field of the Debian control file this data belongs in.

Specified by:
getField in interface ControlFileData

getFieldValue

public String getFieldValue()
Description copied from interface: ControlFileData
Returns the data in this class formatted for the Debian control file.

Specified by:
getFieldValue in interface ControlFileData


Copyright © 2007-2008 Three Rings Design, Inc. All Rights Reserved. Released under a BSD license.