public class Lead extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Architecture |
arch |
static int |
LEAD_SIZE |
protected byte |
major |
protected byte |
minor |
protected String |
name |
protected Os |
os |
protected short |
sigtype |
protected RpmType |
type |
| Constructor and Description |
|---|
Lead() |
| Modifier and Type | Method and Description |
|---|---|
Architecture |
getArch() |
CharSequence |
getName() |
void |
read(ReadableByteChannel channel) |
void |
setArch(Architecture arch) |
void |
setMajor(byte major) |
void |
setMinor(byte minor) |
void |
setName(String name) |
void |
setOs(Os os) |
void |
setSigtype(short sigtype) |
void |
setType(RpmType type) |
String |
toString() |
void |
write(WritableByteChannel channel) |
public static final int LEAD_SIZE
protected byte major
protected byte minor
protected RpmType type
protected Architecture arch
protected String name
protected Os os
protected short sigtype
public CharSequence getName()
public Architecture getArch()
public void setMajor(byte major)
public void setMinor(byte minor)
public void setType(RpmType type)
public void setArch(Architecture arch)
public void setName(String name)
public void setOs(Os os)
public void setSigtype(short sigtype)
public void read(ReadableByteChannel channel) throws IOException
IOExceptionpublic void write(WritableByteChannel channel) throws IOException
IOExceptionCopyright © 2021. All Rights Reserved.