org.freecompany.redline.header
Class Lead
java.lang.Object
org.freecompany.redline.header.Lead
public class Lead
- extends java.lang.Object
Constructor Summary |
Lead()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LEAD_SIZE
public static final int LEAD_SIZE
- See Also:
- Constant Field Values
major
protected byte major
minor
protected byte minor
type
protected RpmType type
arch
protected Architecture arch
name
protected java.lang.String name
os
protected Os os
sigtype
protected short sigtype
Lead
public Lead()
getName
public java.lang.CharSequence getName()
getArch
public Architecture getArch()
setMajor
public void setMajor(byte major)
setMinor
public void setMinor(byte minor)
setType
public void setType(RpmType type)
setArch
public void setArch(Architecture arch)
setName
public void setName(java.lang.String name)
setOs
public void setOs(Os os)
setSigtype
public void setSigtype(short sigtype)
read
public void read(java.nio.channels.ReadableByteChannel channel)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(java.nio.channels.WritableByteChannel channel)
throws java.io.IOException
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object