|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.jpalm.DataBlock
public abstract class DataBlock
An abstract representation of a block of data in a file.
Constructor Summary | |
---|---|
DataBlock()
|
Method Summary | |
---|---|
abstract void |
deserialize(byte[] data)
Populate class properties from a byte array. |
boolean |
equals(java.lang.Object object)
|
abstract byte[] |
serialize()
Create a byte array of the class properties. |
java.lang.String |
toString()
Gets the string representation of this class as a hexadecimal string. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DataBlock()
Method Detail |
---|
public abstract void deserialize(byte[] data)
byte
array.
data
- the byte
arraypublic abstract byte[] serialize()
byte
array of the class properties.
byte
arraypublic java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |