public class FileHeader
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
FileHeader.FileType
The EF type enum
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Comparison is based on field "lid".
|
byte[] |
getAccessConditions()
Gets a reference to the access conditions.
|
byte |
getDfStatus()
Gets the DF status.
|
byte[] |
getKeyIndexes()
Gets a reference to the keys indexes.
|
short |
getLid()
Gets the associated LID.
|
int |
getRecordSize()
Gets the size of a record :
For a Counter file, the record size is the original size of the record #1.
Extra bytes (rest of the division of the file size by 3) aren't accessible. |
int |
getRecordsNumber()
Gets the number of records :
For a Counter file, the number of records is always 1.
Extra bytes (rest of the division of the file size by 3) aren't accessible. |
java.lang.Short |
getSharedReference()
Gets the shared reference of a shared file.
|
FileHeader.FileType |
getType()
Gets the file type.
|
int |
hashCode()
Comparison is based on field "lid".
|
boolean |
isShared()
Returns true if EF is a shared file.
|
java.lang.String |
toString() |
public short getLid()
public int getRecordsNumber()
public int getRecordSize()
public FileHeader.FileType getType()
public byte[] getAccessConditions()
public byte[] getKeyIndexes()
public byte getDfStatus()
public boolean isShared()
public java.lang.Short getSharedReference()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the object to comparepublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object