com.jguild.jrpm.io
public class IndexEntry extends Object
Version: $Id: IndexEntry.java,v 1.5 2004/05/06 20:59:22 mkuss Exp $
Constructor Summary | |
---|---|
IndexEntry(DataInputStream inputStream)
Constructs a IndexEntry out of a InputStream. |
Method Summary | |
---|---|
long | getCount()
Get the number of elements of this data type
|
long | getOffset()
Returns the offset of this data type
|
int | getSize()
Get the size of this index entry in bytes
|
long | getTag()
Get the tag id as a long
|
RPMIndexType | getType()
Get the data type of this entry
|
Parameters: inputStream An InputStream containing a rpm file.
Throws: IOException If an error occurs during reading from stream
Returns: The number of elements
Returns: The offset
Returns: The size
Returns: The tag id
Returns: The data type