SunSPOT API V3.0


javax.microedition.rms
Interface RecordEnumeration


public interface RecordEnumeration


Method Summary
 void destroy()
           
 boolean hasNextElement()
           
 boolean hasPreviousElement()
           
 boolean isKeptUpdated()
           
 void keepUpdated(boolean keepUpdated)
           
 byte[] nextRecord()
           
 int nextRecordId()
           
 int numRecords()
           
 byte[] previousRecord()
           
 int previousRecordId()
           
 void rebuild()
           
 void reset()
           
 

Method Detail

destroy

void destroy()

hasNextElement

boolean hasNextElement()

hasPreviousElement

boolean hasPreviousElement()

isKeptUpdated

boolean isKeptUpdated()

keepUpdated

void keepUpdated(boolean keepUpdated)

nextRecord

byte[] nextRecord()
                  throws InvalidRecordIDException,
                         RecordStoreNotOpenException,
                         RecordStoreException
Throws:
InvalidRecordIDException
RecordStoreNotOpenException
RecordStoreException

nextRecordId

int nextRecordId()
                 throws InvalidRecordIDException
Throws:
InvalidRecordIDException

numRecords

int numRecords()

previousRecord

byte[] previousRecord()
                      throws InvalidRecordIDException,
                             RecordStoreNotOpenException,
                             RecordStoreException
Throws:
InvalidRecordIDException
RecordStoreNotOpenException
RecordStoreException

previousRecordId

int previousRecordId()
                     throws InvalidRecordIDException
Throws:
InvalidRecordIDException

rebuild

void rebuild()

reset

void reset()

SunSPOT API V3.0


Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.