org.freecompany.redline.header

Class Lead

public class Lead extends Object

Field Summary
protected Architecturearch
static intLEAD_SIZE
protected bytemajor
protected byteminor
protected Stringname
protected Osos
protected shortsigtype
protected RpmTypetype
Method Summary
ArchitecturegetArch()
CharSequencegetName()
voidread(ReadableByteChannel channel)
voidsetArch(Architecture arch)
voidsetMajor(byte major)
voidsetMinor(byte minor)
voidsetName(String name)
voidsetOs(Os os)
voidsetSigtype(short sigtype)
voidsetType(RpmType type)
StringtoString()
voidwrite(WritableByteChannel channel)

Field Detail

arch

protected Architecture arch

LEAD_SIZE

public static final int LEAD_SIZE

major

protected byte major

minor

protected byte minor

name

protected String name

os

protected Os os

sigtype

protected short sigtype

type

protected RpmType type

Method Detail

getArch

public Architecture getArch()

getName

public CharSequence getName()

read

public void read(ReadableByteChannel channel)

setArch

public void setArch(Architecture arch)

setMajor

public void setMajor(byte major)

setMinor

public void setMinor(byte minor)

setName

public void setName(String name)

setOs

public void setOs(Os os)

setSigtype

public void setSigtype(short sigtype)

setType

public void setType(RpmType type)

toString

public String toString()

write

public void write(WritableByteChannel channel)