public class LEOHeader extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
HEADER_SIZE |
static byte[] |
majick |
| Constructor and Description |
|---|
LEOHeader() |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
getBytes()
get the Header bytes
|
int[] |
getDIFAT()
get the FAT Sectors (sectors which hold the FAT or the chain that references all sectors in the file)
|
int |
getExtraDIFATStart()
get the position of the extra DIFAT sector start
|
int |
getMiniFATStart()
get the position of the miniFAT Start Block
|
int |
getNumExtraDIFATSectors()
get the number of the Extended DIFAT sectors
|
int |
getRootStartPos()
get the position of the Root Storage/1st Directory
|
protected boolean |
init()
initialize from existing data
|
protected boolean |
init(ByteBuffer dta)
initialize the leo doc header
|
public static final int HEADER_SIZE
public static final byte[] majick
protected boolean init()
protected boolean init(ByteBuffer dta)
public int getNumExtraDIFATSectors()
public int getExtraDIFATStart()
public int getRootStartPos()
public int getMiniFATStart()
public int[] getDIFAT()
public ByteBuffer getBytes()
Copyright © 2002–2019 Starter Inc.. All rights reserved.