All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.microedition.rms.RecordEnumeration Maven / Gradle / Ivy

The newest version!
package javax.microedition.rms;

public interface RecordEnumeration {
    void destroy();

    boolean hasNextElement();

    boolean hasPreviousElement();

    boolean isKeptUpdated();

    void keepUpdated(boolean arg0);

    /**
     * @throws InvalidRecordIDException
     * @throws RecordStoreNotOpenException
     * @throws RecordStoreException
     */
    byte[] nextRecord() throws InvalidRecordIDException, RecordStoreNotOpenException, RecordStoreException;

    /**
     * @throws InvalidRecordIDException
     */
    int nextRecordId() throws InvalidRecordIDException;

    int numRecords();

    /**
     * @throws InvalidRecordIDException
     * @throws RecordStoreNotOpenException
     * @throws RecordStoreException
     */
    byte[] previousRecord() throws InvalidRecordIDException, RecordStoreNotOpenException, RecordStoreException;

    /**
     * @throws InvalidRecordIDException
     */
    int previousRecordId() throws InvalidRecordIDException;

    void rebuild();

    void reset();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy