public class Entry
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
BYTES |
| Constructor and Description |
|---|
Entry() |
| Modifier and Type | Method and Description |
|---|---|
static Entry |
create(AppleSingleReader reader) |
static Entry |
create(EntryType type,
byte[] data) |
java.nio.ByteBuffer |
getBuffer() |
byte[] |
getData() |
int |
getEntryId() |
int |
getLength() |
int |
getOffset() |
void |
writeData(java.io.OutputStream outputStream) |
void |
writeHeader(java.io.OutputStream outputStream,
int offset) |
public static final int BYTES
public static Entry create(AppleSingleReader reader)
public int getEntryId()
public int getOffset()
public int getLength()
public byte[] getData()
public java.nio.ByteBuffer getBuffer()
public void writeHeader(java.io.OutputStream outputStream,
int offset)
throws java.io.IOException
java.io.IOExceptionpublic void writeData(java.io.OutputStream outputStream)
throws java.io.IOException
java.io.IOException