org.freecompany.redline.header
Class Lead
java.lang.Object
org.freecompany.redline.header.Lead
public class Lead
- extends Object
|
Constructor Summary |
Lead()
|
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 String name
os
protected Os os
sigtype
protected short sigtype
Lead
public Lead()
getName
public 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(String name)
setOs
public void setOs(Os os)
setSigtype
public void setSigtype(short sigtype)
read
public void read(ReadableByteChannel channel)
throws IOException
- Throws:
IOException
write
public void write(WritableByteChannel channel)
throws IOException
- Throws:
IOException
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2014. All Rights Reserved.