public static Vector loadFromRMS(RecordStore rms) throws RecordStoreNotOpenException, InvalidRecordIDException, RecordStoreException, IOException {
Vector registry = new Vector(rms.getNumRecords());
RecordEnumeration enumeration = rms.enumerateRecords(null,null,false);
while(enumeration.hasNextElement()) {
int id = enumeration.nextRecordId();
Mucus mucus = new Mucus();
ByteArrayInputStream bin = new ByteArrayInputStream(rms.getRecord(id));
DataInputStream in = new DataInputStream(bin);
mucus.readFrom(in);
mucus.setId(id);