| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Subject: Re: Java equivalents to dbm/gdbm libraries?_______________________________________________
From: Edward Kenworthy <email@hidden>
To: email@hidden
On Thursday, November 28, 2002, at 01:50 am, kmmcdonald wrote:
I'm working on a project for which I want to use a Java library which
lets me treat an on-disk file as a very large HashMap--basically, the
equivalent of what dbm/gdbm can do in C, as typified by Python's
'pickle' module.
If you don't mind the whole file being read into memory the
java.util.HashMap is serialisable so you could use that. If you want
the file to be human readable/editable then java.util.Properties is
another option. If you want to treat a text file as a database have a
look at the text JDBC driver.
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.