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

Object qdbm::Villa::getobj ( Object  key  )  throws VillaException [inline]

Retrieve a record composed of serializable objects. The same as `qdbm.Util.deserialize(get(qdbm.Util.serialize(key)))'.

See also:
If serialization is failed, an instance of `VillaException' is thrown.

Definition at line 317 of file Villa.java.

    byte[] kbuf = Util.serialize(key);
    if(kbuf == null) throw new VillaException();
    Object val = Util.deserialize(get(kbuf));
    if(val == null) throw new VillaException();
    return val;

Generated by  Doxygen 1.6.0   Back to index