Package mdbtools.libmdb
Class file
- java.lang.Object
-
- mdbtools.libmdb.file
-
public class file extends Object
-
-
Constructor Summary
Constructors Constructor Description file()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
_mdb_get_int32(byte[] buf, int offset)
static int
mdb_get_byte(MdbHandle mdb, int offset)
static double
mdb_get_double(MdbHandle mdb, int offset)
static int
mdb_get_int16(MdbHandle mdb, int offset)
static int
mdb_get_int24(MdbHandle mdb, int offset)
static int
mdb_get_int32(MdbHandle mdb, int offset)
static float
mdb_get_single(MdbHandle mdb, int offset)
static MdbHandle
mdb_open(RandomAccess file)
static long
mdb_read_alt_pg(MdbHandle mdb, long pg)
static long
mdb_read_pg(MdbHandle mdb, long pg)
mdb_read a wrapper for read that bails if anything is wrongstatic void
mdb_swap_pgbuf(MdbHandle mdb)
static int
unsign(byte b)
-
-
-
Method Detail
-
mdb_open
public static MdbHandle mdb_open(RandomAccess file) throws IOException
- Throws:
IOException
-
mdb_read_pg
public static long mdb_read_pg(MdbHandle mdb, long pg) throws IOException
mdb_read a wrapper for read that bails if anything is wrong- Throws:
IOException
-
_mdb_get_int32
public static int _mdb_get_int32(byte[] buf, int offset)
-
mdb_get_int32
public static int mdb_get_int32(MdbHandle mdb, int offset)
-
mdb_get_int16
public static int mdb_get_int16(MdbHandle mdb, int offset)
-
mdb_read_alt_pg
public static long mdb_read_alt_pg(MdbHandle mdb, long pg) throws IOException
- Throws:
IOException
-
mdb_get_int24
public static int mdb_get_int24(MdbHandle mdb, int offset)
-
mdb_swap_pgbuf
public static void mdb_swap_pgbuf(MdbHandle mdb)
-
unsign
public static int unsign(byte b)
-
mdb_get_double
public static double mdb_get_double(MdbHandle mdb, int offset)
-
mdb_get_byte
public static int mdb_get_byte(MdbHandle mdb, int offset)
-
mdb_get_single
public static float mdb_get_single(MdbHandle mdb, int offset)
-
-