Logo Search packages:      
Sourcecode: qdbm version File versions  Download package

void qdbm::Villa::curjumpobj ( Object  key,
int  jmode 
) throws VillaException [inline]

Move the cursor to position around a record composed of serializable objects. The same as `curjump(qdbm.Util.serialize(key), jmode)'.

See also:
curjump(byte[], int)
Note:
If serialization is failed, an instance of `VillaException' is thrown.

Definition at line 419 of file Villa.java.

References curjump().

                                                                      {
    byte[] kbuf = Util.serialize(key);
    if(kbuf == null) throw new VillaException();
    curjump(kbuf, jmode);
  }


Generated by  Doxygen 1.6.0   Back to index