To read from the store, you must have an address that was returned by calling save on a PSOutputStream.

The IStore method getData takes a valid store address and returns a PSInputStream.

This can then be used as any other java InputStream to read data from the store. For example :

IStore store = new RWStore("somestore.rw", 0);

PSInputStream instr = store.getData(validAddr);
ObjectInputStream obin = new ObjectInputStream(instr);

int someInt = obin.readInt();
String someString = (String) obin.readObject();

It should be noted that the stream based storage approach means that potentially very large data allocations can be addressed efficiently - for example storing and accessing an MP3 data source.